i want to get answer like if i input value for height 1 feet,it should give 30.48 cm as output,i want only 2 values after decimal
while True:
try:
height = float(input('\nEnter your height in feet:'))
except ValueError:
print("\nPlease enter only number")
else:
break
cm = (height*30.48)
print("\nYour height is %d cm." % cm)