Question: Write a program that creates a dictionary containing the names of the Galilean moons of Jupiter as keys and their mean radiuses (in kilometers) as
Write a program that creates a dictionary containing the names of the Galilean moons of Jupiter as keys and their mean radiuses (in kilometers) as values. The dictionary should contain the following key-value pairs:
The program should also create a dictionary containing the moon names and their surface gravities (in meters per second squared). The dictionary should contain the following keyvalue pairs:
The program should also create a dictionary containing the moon names and their orbital periods (in days). The dictionary should contain the following key-value pairs:
The program should let the user enter the name of a Galilean moon of Jupiter, then it should display the moon’s mean radius, surface gravity and orbital period.
Moon Name (key) Io Europa Ganymede Callisto Mean Radius (value) 1821.6 1560.8 2634.1 2410.3
Step by Step Solution
3.43 Rating (159 Votes )
There are 3 Steps involved in it
def main Create the dictionaries meanradius Io 18216 Europa 15608 Ganymede 26341 Callisto 24103 su... View full answer
Get step-by-step solutions from verified subject matter experts
