Skip to content

SHAYAN-ABRAR/Weight-Unit-Converter-Using-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Weight Unit Converter - Python

Description

This is a simple Python-based program that converts weight between Kilograms and Pounds. The user inputs a weight and selects whether the input is in Kilograms or Pounds, and the program converts it to the corresponding unit.

Features

  • Converts Kilograms to Pounds.
  • Converts Pounds to Kilograms.
  • Validates user input for unit selection.
  • Displays the converted weight rounded to one decimal place.

How to Use

  1. Clone or download this repository to your local machine.
  2. Run the weight_converter.py file in a Python environment.
  3. Follow the prompts:
    • Enter your weight (numeric input).
    • Specify if the input is in Kilograms (K or k) or Pounds (L or l).
  4. The program will output the converted weight along with the appropriate unit.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages