a=[40]for i in range(len(a)): print (i,a[i])
Standard input is empty
(0, 40)
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!