fork download
  1. def hui(arg, lst=[]):
  2. lst.append(arg)
  3. print(lst)
  4. hui(1)
  5. hui(2)
Success #stdin #stdout 0.02s 9164KB
stdin
Standard input is empty
stdout
[1]
[1, 2]