enumerate in range python

Solutions on MaxInterview for enumerate in range python by the best coders in the world

showing results for - "enumerate in range python"
Liza
14 Feb 2020
1enumerated = list(enumerate(range(3), 1))
2
3print(enumerated)
4OUTPUT:
5[(1, 0), (2, 1), (3, 2)]