So for the past hour or so i've been toiling over this piece of work. I want to add a while loop that brings the user back to the start evertime they input something that isn't a number. However I have no idea where to start on this. I've been trying a whole ton of things but nothing seems to be working for me.
try:
length=float(raw_input("Insert Length of room"))
except ValueError:
print "That's not a number try again"
try:
width=float(raw_input("Insert Width of room"))
except ValueError:
print "That's not a number try again"
else:
cost=(width*length)*3.99
print cost