Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

Python write a program that asks the user for a weight in kilograms and converts it to pounds

kg = input("Enter the weight in KG ")
pounds = float(kg) * 2.2
print(pounds)
Source by computing.outwood.com #
 
PREVIOUS NEXT
Tagged: #Python #write #program #asks #user #weight #kilograms #converts #pounds
ADD COMMENT
Topic
Name
7+4 =