All functions in Python return value. It is None for the list.append method (to stress that it modifies its argument (self) inplace).
All list methods are enumerated in the tutorial. There is no more complete reference as far as I can see.
The docstring for list.append() specifies that it returns None. Run help(list.append) in a Python shell.
Videos
All functions in Python return value. It is None for the list.append method (to stress that it modifies its argument (self) inplace).
All list methods are enumerated in the tutorial. There is no more complete reference as far as I can see.
The docstring for list.append() specifies that it returns None. Run help(list.append) in a Python shell.
I can find that about arrays, but for unknown reasons I failed to find that about lists.
I'm a newb too, but from what I understand list in python is equivalent (but not identical) to an array in most other languages, for example an array in C. So if you find an answer for array, you must take it as a list.