Python program to convert feet to inches

Views: 748   

Following program shows you how to convert feet to inches.
In this program we get feet from user, we get those we need to multiply with 12 so that we get in inches

feet = float(input("Please enter feet:"))
inches = feet * 12
print(inches, " Inches")


Please enter feet: 20
240.0  Inches
On By