Here's my code:
metres = float(raw_input("Enter the height (in metres): ")) total_inches = 39.37 * metres feet = int(total_inches/12) inches = int(round(total_inches - feet*12)) if inches < 0.5: print "Sorry, you have entered a height that is less than 1/2 inches," \ " please re-enter a new height." elif feet < 1: print "It is" + " " + str(inches) + " inches high." else: print "It is" + " " + str(feet) + " feet," + " " + str(inches) + " inches high."
The output is something like
It is 4 feet, 6 inches high. (depends on your input)
How and what do I have to add to this code to turn the output into
It is four feet, six inches high.
So basically I want to know how to change the output into all words and no numbers.
Any help is appreciated. Also, please don't post any really hard coding because I just started python not long ago, so really complicated coding won't be of hel.