python-by-example-150-chall.../challenges1-11/challenage-010.py

3 lines
125 B
Python
Raw Normal View History

2019-07-17 14:56:46 +08:00
weight = float(input('Enter weight to convert it to pounds : '))
print('{0} kg = {1} pounds'.format(weight, (weight*2.204)))