I thought iI would try to teach myself how to program, so sorry if this has been asked before but I could find it.
What I am trying to do is limit an input to of an int to 50 or less with out the program throwing up an error. This is what i have so far :-
#start of input loop
deep = int(raw_input('Enter Depth in meters :- ',))
print 'Enter whole meters only!(round up if needed!)'
#end of loop
I want deep <= 50 and if it not to loop back to the input line.