Question: Problem 4 : Create a dictionary with the following key / value pairs: Mercury 8 8 Venus 2 2 5 Earth 3 6 5 Mars
Problem : Create a dictionary with the following keyvalue pairs:
Mercury
Venus
Earth
Mars
Jupiter
Saturn
Uranus
Neptune
Use a sentinel loop to let user enter the name of the planet and display the number of Earth days.
The program ends when the user enter a blank name.
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
