OverIQ.com
Run (or Hit F9)
list1 = [1, 2, 3] print(id(list1)) list1.extend([100, 200, 300]) # append elements of list [100, 200, 300] to list1 print(list1) print(id(list1)) list1.extend("str") # We can pass strings too print(list1) print(id(list1))