Why does the second statement print out "None"? Shouldn't Python simply recognize list-variable loe as a list already, and simply append one more to the list? After all, the first print statement does recognize loe as a list.
loe = ["a", "b"]
one = "c"
print "List of elements: ", loe
print "List of elements and one: ", loe.append(one)
------------
Output:
List of elements: ['a', 'b']
List of elements and one: None