list_clear.py 55 B

1234
  1. # tests list.clear
  2. x = [1, 2, 3, 4]
  3. x.clear()
  4. print(x)