Question
Create a dictionary called nums, with keys 1 and 2 mapping to values one and two. Create a dictionary called letters with keys a and
Create a dictionary called nums, with keys "1" and "2" mapping to values "one" and "two". Create a dictionary called letters with keys "a" and "b" and "c" mapping to values "A" and "B" and "C". Create a dictionary called stuff with two elements: the first is a dictionary whose key is "the_numbers" and whose value is the nums dictionary; the second is a dictionary whose key is "the_letters" and whose value is the letters dictionary. Then use nested loops to print out all of the keys and values like this: 1 is one 2 is two a is A b is B c is C (note that the order can be different in the prints...but the key->value associations must match)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started