On 6/24/2015 5:58 AM, [email protected] wrote:
Hey guys can anybody tell me what's wrong with this code: The code is below?
Actually the point is that when we put "34h4" type of value it's an valueerror
but here no handling is been performed by the python ???
while 1:
number=int(input("Enter the number which u want to check for odd and even
:"))
You're probably seeing the error here, which is outside your try/except
block, hence the except not working as you expect.
try :
Emile
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor