Hi guys, 
how do i prevent a user from leaving a blank when inputting?
 
e.g. 
age=int(input("what age are you? ")).................. i want to stop the user 
pressing enter!!!!
 
if age==""?????

 
  
Adrian Kelly 
1 Bramble Close
Baylough
Athlone
County Westmeath

0879495663
                                          
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to