Write a program that creates a dictionary containing the names of the Galilean moons of Jupiter as

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 values. The dictionary should contain the following key-value pairs:Moon Name (key) Io Europa Ganymede Callisto Mean Radius (value) 1821.6 1560.8 2634.1 2410.3

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:Moon Name (key) Io Europa Ganymede Callisto Surface Gravity (value) 1.796 1.314 1.428 1.235

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:Moon Name (key) Io Europa Ganymede Callisto Orbital Period (value) 1.769 3.551 7.154 16.689

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.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: