DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
dict comprehension
# Dictionary comprehension {i:i*2 for i in range(10)}
Source by docs.python.org #
PREVIOUS
NEXT
Tagged:
#dict
#comprehension
ADD COMMENT
Topic
COMMENT
Name
9+4 =
Submit