#Convert height in centimeters to feet and inch
n=float(input("Enter your height in centimeters "))
h=n/2.54
print(h,"inches")
print(h//12,"feet",h%12,"inches")
Output
Comments
Post a Comment