RAW_INPUT

dataw0lf digitalsuicide at gmail.com
Mon Nov 7 18:40:32 CET 2005


john boy wrote:

>
>  
> --thats it....if I hit enter again "You may pass,"
> appears...
> ...
> What am I doing wrong?

raw_input accepts, that's right, input.  So, when you get the line
"Who goes there?"
You don't hit enter;  you type whatever you want to be printed with "You 
may pass,".  Then you hit enter.




More information about the Python-list mailing list