On Jan 29, 4:50 pm, Oleksiy Khilkevich <g...@asu.ntu-kpi.kiev.ua> wrote: > Hello, everyone, > This may be a totally noob question, but since I am one, so here is it. > > I have the following code (not something much > of):http://paste.debian.net/27204 > The current code runs well, but the problem is with input > value:http://paste.debian.net/27205 > Аs you can see, the numbers are ok, but strings and characters cause > "not defined" error. > > I've obviously missing something important, but tutorial says nothing > about this. > > Thank you for your help.
You want raw_input() input() expects the string enterd to be Python code, which it evals() numbers eval to thenmselves cheers -- http://mail.python.org/mailman/listinfo/python-list