A Python newbie ask a simple question
xing93111 at gmail.com
xing93111 at gmail.com
Fri Jul 13 14:35:16 EDT 2007
what does the statement "choice = raw_input(prompt)[0]" mean? I don't
know why there is a '[0]' in the statement.
Thank you very much
More information about the Python-list
mailing list