Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- weight = int(input('weight :'))
- unit= input('(l)bs or (k)gs: ')
- if unit.upper() == "L" :
- converted = weight * 0.45
- print(f"you are {converted}")
- else:
- converted = weight / 0.45
- print(f"you are {converted} pounds")
Add Comment
Please, Sign In to add comment