Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Given two lists [ CA , NJ , RI ] and [ California , New Jersey, Rhode
Given two lists CANJRI and California "New Jersey", "Rhode Island" create a dictionary that looks like this CA: 'California', NJ: 'New Jersey', RI: 'Rhode Island' Save it to a variable called answer.
I expect you to do this with a dictionary comprehension, but you can also use a builtin function called zip We cover it later in the course.
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