fork download
  1. #!/usr/bin/env python3
  2.  
  3. a = [10, 20, 30, 40, 50, 60]
  4.  
  5. for i in range(len(a)):
  6. print(i, a[i])
  7.  
Success #stdin #stdout 0.02s 27712KB
stdin
Standard input is empty
stdout
0 10
1 20
2 30
3 40
4 50
5 60