fork download
  1. list = [1,2,3,4,5,6]
  2. print(list)
  3. list.clear()
  4. print(list)
Success #stdin #stdout 0.11s 14124KB
stdin
Standard input is empty
stdout
[1, 2, 3, 4, 5, 6]
[]