fork download
  1. def add_end(L=[]):
  2. L.append('END')
  3. return L
  4.  
  5. print(add_end())
  6.  
  7. print(add_end())
Success #stdin #stdout 0.07s 14152KB
stdin
Standard input is empty
stdout
['END']
['END', 'END']