logo image

Python program to convert inches to feet

Views: 287

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

inches = float(input("Please enter inches:"))
feet = inches / 12
print(feet, " Feet")


Please enter inches: 60
5.0  Feet