I want to add a tuple in a list of tuples:
list1 = [('a', 'b'), ('c', 'd')]
tuple1 = ('e', 'f') # this is the tuple I want to add to the list above (list1).
list2 = list1.append(tuple1)
print(list2)
The result should be:
[('a', 'b'), ('c', 'd'), ('e', 'f')]
But instead, I'm finding:
None