fork download
  1. z = [['a','b','c']]
  2. for n in z:
  3. pass
  4. n.clear()
  5. print(z)
Success #stdin #stdout 0.02s 9264KB
stdin
Standard input is empty
stdout
[[]]