problems with looping, i suppose

John Salerno johnjsal at NOSPAMgmail.com
Mon Mar 27 14:10:03 EST 2006


akameswaran at gmail.com wrote:
> Just barely looked the code answer:
> check you scope on the second try block.
> 
> if that doesn't work...
> I'll read it for real :)
> 
> Try PyDev plugin  with eclipse - it's served me fairly well, but I did
> come from Java - so I'm an eclipse fan already.
> 

I think it has to do with the exception I'm using. For the leap year 
program, it should be ValueError. For the other one, its' a combination 
of that and the input function.



More information about the Python-list mailing list