Skip to content

sachingoray/space-weight-o-meter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

🌌 space- Weight-o-Meter 🚀

A fun Python program that calculates your weight on different planets (and the Sun!) in our Solar System — with a humorous twist.

Because sometimes, it’s not you… it’s the planet! 😉


Features

  • Calculate your weight on Sun and all planets of our Solar System
  • Includes funny, playful messages from each celestial body
  • Interactive user input for weight and planet selection
  • Friendly terminal design with separators and spacing for readability

How It Works

  1. User enters their current weight in kilograms.
  2. User selects a planet from our Solar System (or the Sun).
  3. Program calculates the weight on the selected celestial body using its gravity relative to Earth.
  4. Displays the weight in kg and a fun message/fact from that planet.

Gravity Reference Table Used

Celestial Body Gravity (m/s²)
Sun 240
Mercury 3.7
Venus 8.87
Earth 9.81
Mars 3.71
Jupiter 24.79
Saturn 10.44
Uranus 8.69
Neptune 11.15

Funny Messages Included

  • Sun: "Congratulations, you’re officially a human skyscraper! Just don’t try to sit down… or you’ll melt. 🔥😆"
  • Mercury: "I’m so light, even your problems would weigh less here! 😆"
  • Venus: "On me, your weight is almost Earth-like… but the heat might melt your scales! 🔥"
  • Earth: "The only planet where you can get pizza delivered 🍕."
  • Mars: "Not overweight! Just on the wrong planet 😉 I make everyone look lighter."
  • Jupiter: "Careful! Here you’re hitting PRs without lifting anything 💪."
  • Saturn: "My rings are pretty, but they won’t help your waistline 😂."
  • Uranus: "Weighing in on Ur-anus sounds funny already 🙃."
  • Neptune: "Well in here, you’re heavier, but hey, at least no one can see you through the storms 🌊."

How to Run

  1. Make sure you have Python 3 installed.
  2. Clone this repository:
git clone https://github.com/<your-username>/<repo-name>.git
cd <repo-name>

About

Python program that calculates your weight on different planets based on gravity. Users input their Earth weight and get calculated weights for each body in the solar system.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages