Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

space separated dictionary input in python

d = {}
for i, v in enumerate(input().split()):
    d[i] = v
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #space #separated #dictionary #input #python
ADD COMMENT
Topic
Name
1+6 =