OverIQ.com
Run (or Hit F9)
list1 = [1, 2, 3, 4, 5, 6, 1, 2, 3] print(id(list1)) list1.clear() # clear all the elements in the list list1 print(list1) print(id(list1))