list = [1, 2, 3]
print(list.append(4)) ## WRONG, print does not work, append() returns None
## RIGHT:
list.append(4)
print(list) ## [1, 2, 3, 4]
I'm learning Python and I'm not sure if this problem is specific to the language and how append
is implemented in Python.