fork download
  1. my_list = [[],[]]
  2.  
  3. for member in my_list:
  4. member.append(1)
  5.  
  6. print(my_list)
Success #stdin #stdout 0.01s 6356KB
stdin
Standard input is empty
stdout
[[1], [1]]