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 4: Create a dictionary with the following key/value pairs:
Mercury 88
Venus 225
Earth 365
Mars 687
Jupiter 4332
Saturn 10760
Uranus 30700
Neptune 60200
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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!