DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
7+4 =
Submit