Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def task1():
- weight = float(input("Enter the weight in pounds:"))
- task1_convert(weight)
- def task1_convert(x):
- kilo = x / 2.52
- print("The conversion of", format(x, ".1f"), "pounds to kilograms is", format(kilo, ".2f"), "kilograms")
- task1()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement