String comparison

Shankar SNeelakantan_C at zaplet.com
Thu Oct 25 02:21:21 EDT 2001


I started learning python recently and the examples given on
python.org only talk about number comparison.
I tried:
x = input("Proceed?");

if x == 'y':
       print "You typed y\n";
       

This gives out a syntax error.



More information about the Python-list mailing list