This is kg to pound or pound to kg.

           Welcome to kg to pound and pound to kg

This is a kg to lbs and lbs to kg.



weight =float(input("Enter you weight: "))
unit=input('kilograms or Pound? (K or L): ')

if unit.upper() =="K":
weight =weight*2.205
unit="Lbs."
print(f"Your weight is: {round(weight,1)} {unit}")
elif unit.upper()=="L":
weight = weight / 2.205
unit="Kgs."
print(f"Your weight is: {round(weight,1)} {unit}")
else:
print(f"{unit} was not vaild.")

Comments

Popular posts from this blog

Screen Recording using python.

wallpaper changer.

Find any color from image using python