Question: 6 . 9 ( Dictionary Manipulations ) Using the following dictionary, which maps country names to Internet top - level domains ( TLDs ) :
Dictionary Manipulations Using the following dictionary, which maps country names to Internet toplevel domains TLDs:
tlds Canada: ca 'United States': us 'Mexico': mx
perform the following tasks and display the results:
Check whether the dictionary contains the key 'Canada'.
Check whether the dictionary contains the key 'France'.
Iterate through the keyvalue pairs and display them in twocolumn format.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
