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! 😉
- 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
- User enters their current weight in kilograms.
- User selects a planet from our Solar System (or the Sun).
- Program calculates the weight on the selected celestial body using its gravity relative to Earth.
- Displays the weight in kg and a fun message/fact from that planet.
| 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 |
- 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 🌊."
- Make sure you have Python 3 installed.
- Clone this repository:
git clone https://github.com/<your-username>/<repo-name>.git
cd <repo-name>