while(1):
try:
# code
#
#
except EOFError: break
On Wed, May 25, 2011 at 8:41 PM, Vishnutej
<[email protected]>wrote:
> Hello everyone,
>
> I'm new to python.How can I check the EOF for inputs in SPOJ?
>
> Thanks in advance!!
>
> -Vishnutej
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.