The following works just fine:
b = [1,]
b.append([2, 3])
# returns type "list" [1, 2, 3]
But the following doesn't:
[1,].append([2, 3])
# returns type "NoneType"
This holds true for a few of the list methods that' I've tried. Why does Python require explicit variable declaration before applying a method?