fork download
  1. a = []
  2. for i in range(10):
  3. a.append(i * ++i)
  4. for a[i] in a:
  5. print(a[i])
Success #stdin #stdout 0.01s 7728KB
stdin
Standard input is empty
stdout
0
1
4
9
16
25
36
49
64
64