in normallymap takes function and one or more sequence arguments and collects the results of calling the function with parallel items taken from the sequence(swe'll study map in detail in and but as brief examplethe following maps the built-in ord function across each item in string and collects the results (like zipmap is value generator in and so must be passed to list to collect all its results at once in only)list(map(ord'spam')[ this works the same as the following loop statementbut map is often quickeras will showres [for in 'spam'res append(ord( )res [ version skew notethe degenerate form of map using function argument of none is no longer supported in python xbecause it largely overlaps with zip (and wasfranklya bit at odds with map' functionapplication purposein xeither use zip or write loop code to pad results yourself in factwe'll see how to write such loop code in after we've had chance to study some additional iteration concepts dictionary construction with zip let' look at another zip use case suggested that the zip call used here can also be handy for generating dictionaries when the sets of keys and values must be computed at runtime now that we're becoming proficient with ziplet' explore more fully how it relates to dictionary construction as you've learnedyou can always create dictionary by coding dictionary literalor by assigning to keys over timed {'spam': 'eggs': 'toast': {'eggs' 'toast' 'spam' { ['spam' ['eggs' ['toast' what to dothoughif your program obtains dictionary keys and values in lists at runtimeafter you've coded your scriptfor examplesay you had the following keys and values listscollected from userparsed from fileor obtained from another dynamic sourceloop coding techniques