enumerate.py 174 Bytes
Newer Older
John R. Lenton's avatar
John R. Lenton committed
1
2
3
4
5
6
print(list(enumerate([])))
print(list(enumerate([1, 2, 3])))
print(list(enumerate([1, 2, 3], 5)))
print(list(enumerate([1, 2, 3], -5)))
print(list(enumerate(range(10000))))