How old are You On Another Planet

Introduction

One earth year is calculated based on the time it takes to complete one revolution around the sun. Other planets take a different amount of time to complete one revolution.

How old are you in another planet's years?

PlanetRevolution Period in Earth Days/Years
Mercury87.97 days
Venus224.7 days
Earth1 year (365.26 days)
Mars1.88 years
Jupiter11.86 years
Saturn29.46 years
Uranus84.01 years
Neptune164.79 years
Pluto248.59 years

Project #1

Write an interactive program that

  1. ask a person's age in years
  2. displays the person's approximate age on different planets
  3. Loop

To display the data in a "nice table/format" use F strings or the tabulate module.

Project #2

Write a program similar to the one in project #1. Calculate how much would you weigh on another planet.

To find out how much you would weigh, multiple your weight on Earth by the g-factor in the table below.

The easiest way to discuss the gravitational force on other planets is to express it as a fraction of Earth's g-force.

The following are the g-forces (gravity) you would experience on another planets if you were standing on the surface or, in the case of the ice giants, floating in the atmosphere.

PlanetFraction of Earth's g-force
Mercury0.38 g
Venus0.9 g
Earth1 g
Moon0.17 g
Mars0.38 g
Jupiter2.53 g
Saturn1.07 g
Uranus0.89 g
Neptune1.14 g