problems with looping, i suppose

John Salerno johnjsal at NOSPAMgmail.com
Mon Mar 27 21:17:15 CEST 2006


John Salerno wrote:

> 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.

Hmm, turns out something was wrong with the indentation of the second 
while loop! Even though it looked correct, it created problems when I 
opened it in IDLE, so I just unindented the whole thing and reindented 
it manually, and now it works.



More information about the Python-list mailing list