enumerate in range python

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

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
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)]