the302storm the302storm - 4 months ago 32
Python Question

When to use append?

I've recently started programming in Python 3.5.2 (I learned C++ about three years ago but I haven't put that to use since then) and I can't understand the function of

Maybe the problem is that I'm not a native english speaker.

Can someone explain this concept to me?


You have a list for example [1, 2, 3] If you want to add another element use append:

list = [1, 2, 3]