fork download
  1. class Yoba:
  2. A = [1, 2, 3]
  3. print(A)
  4. C = [a + 1 for a in A]
  5. print(C)
  6. n = A[0] + C[0]
  7. print(n)
  8.  
  9. print(Yoba.A)
  10. print(Yoba.C)
  11. print(Yoba.n)
  12.  
Success #stdin #stdout 0.02s 8736KB
stdin
Standard input is empty
stdout
[1, 2, 3]
[2, 3, 4]
3
[1, 2, 3]
[2, 3, 4]
3