+ 1
I didn't understand append
Guys help me i didn't understand "append"
3 Réponses
0
Anytime. ;)
+ 3
It is a method of the type list.
Lists are for storing all kinds of stuff, and append adds one element at the end of a list.
stuff = [4, 'd', 7]
stuff.append(3)
After the call of append, stuff will look like this:
[4, 'd', 7, 3]
+ 1
alright thank's bro ;)