0% found this document useful (0 votes)
41 views

Python R19 Lab Manual

The program asks the user to input their weight in kilograms, then multiplies that input by 2.2 to convert it to pounds since there are 2.2 pounds in a kilogram. It then prints out the converted weight in pounds.

Uploaded by

jayasree
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views

Python R19 Lab Manual

The program asks the user to input their weight in kilograms, then multiplies that input by 2.2 to convert it to pounds since there are 2.2 pounds in a kilogram. It then prints out the converted weight in pounds.

Uploaded by

jayasree
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

1.

Write a program that asks the user for a weight in kilograms and converts
it to pounds. There are 2.2 pounds in a kilogram.
Program :

kilo = float(input("Enter weight in kilograms"))

pounds = 2.2 * kilo

print("weight in pounds",pounds)

You might also like