DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
enumerate from 1 python
>>> list(enumerate(seasons, start=1)) [(1, 'Spring'), (2, 'Summer'), (3, 'Fall'), (4, 'Winter')]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#enumerate
#python
ADD COMMENT
Topic
COMMENT
Name
2+4 =
Submit