+ 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))
2 Antworten
+ 8
map
It will apply the map() function over the iterator and you will get 'a'..'e' range as a result.
+ 2
Thx