pyBegin / projects / weights-in-different-planets-gui
🧮

Weight Calculator for Different Planets

This is a simple Python mini-project created using Tkinter to calculate weight on different planets in our solar system.

210 lines🖥 Desktop only

Weight Calculator for Different Planets

This is a simple Python mini-project created using Tkinter to calculate weight on different planets in our solar system.

Overview

This application allows users to input their weight on Earth and then calculates their weight on various planets. It provides the functionality to calculate weight on Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto, Sun, and Moon.

Features

Example

  1. The window opens titled "Weights in different planet" with a red label "Enter Weight in earth:" and an input field.
  2. Type 70 (kilograms) in the entry field.
  3. Click the green "Mercury" button — the label below shows Your Weight In Mercury: 26.46.
  4. Click the red "Mars" button — the label updates to Your Weight In Mars: 26.53.
  5. Click the yellow "Moon" button — the label updates to Your Weight In Moon: 11.61.

Usage

  1. Enter your weight in the provided input field.
  2. Click on the corresponding planet button to see your weight on that planet.
  3. The calculated weight will be displayed below the input field.

Output Screenshot

alt text

Dependencies