assign operator as variable ?

s99999999s2003 at yahoo.com s99999999s2003 at yahoo.com
Wed Jun 7 02:18:57 EDT 2006


hi
in python is there any way to do this

op = "<"
a = 10
b = 20
if a op b :
   print "a is less than b"

??

thanks




More information about the Python-list mailing list