> I am trying to write a program in which it ask for entries for the list
> , But if I press Enter it should exit the while loop without giving
> errors

Hi John,

Do you have ideas why it's getting an error?  Can you point at the part of
the program that's receiving the "Enter"?

As a related question, what result do you expect from:

    int("")

What does Python respond with?

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to