+ 2

What should I put in the gap to make a dictionary?

keys = ___(chr,range(97,102)) values = range(1,6) a_to_e = dict(zip(keys,values))

28th May 2018, 6:15 PM
Cloudtamer
Cloudtamer - avatar
2 Answers
+ 8
map It will apply the map() function over the iterator and you will get 'a'..'e' range as a result.
28th May 2018, 6:29 PM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
+ 2
Thx
28th May 2018, 6:39 PM
Cloudtamer
Cloudtamer - avatar