fork download
  1. class Test:
  2. log = []
  3.  
  4.  
  5. test = Test()
  6. test.log.append(1)
  7.  
  8. print(Test.log)
Success #stdin #stdout 0.02s 9128KB
stdin
Standard input is empty
stdout
[1]