Learning Python

Alex Martelli aleaxit at yahoo.com
Sun Feb 5 14:44:22 EST 2006


Byte <eoinrogers at gmail.com> wrote:

> Thanks, never knew that, but they are using raw_input as a stack,
> aren't they?

No.  raw_input is a function object, "using it as a stack" is a rather
meaningless phrase.  You can use a list as a stack, but that's totally
and absolutely unrelated to that spot in the tutorial.


Alex



More information about the Python-list mailing list