DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
dictionary comprehension python
square_dict = {num: num*num for num in range(1, 11)}
Source by www.datacamp.com #
PREVIOUS
NEXT
Tagged:
#dictionary
#comprehension
#python
ADD COMMENT
Topic
COMMENT
Name
7+5 =
Submit