weight = int(input('weight: '))
unit = input ("(L)bs or (K)g: ")
if unit.upper() == "L":
converted = weight * 0.45
print(f"you are {converted} killos")
else:
converted = weight / 0.45
print(f"you are {converted} pounds")
weight = int(input('weight: '))
unit = input ("(L)bs or (K)g: ")
if unit.upper() == "L":
converted = weight * 0.45
print(f"you are {converted} killos")
else:
converted = weight / 0.45
print(f"you are {converted} pounds")
Comments
Post a Comment