a = []for i in range(10): a.append(i * ++i)for a[i] in a: print(a[i])
Standard input is empty
0 1 4 9 16 25 36 49 64 64
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!