Why do I get this error?

Rainer Deyke root at rainerdeyke.com
Sat May 19 04:25:34 CEST 2001


"the_2nd_coming" <jpetzold at twmi.rr.com> wrote in message
news:aOjN6.6818$Zb.64564 at typhoon.mw.mediaone.net...
>                 elif operator == 'X' or 'x' or '*':

Whatever else is wrong with your program, the above is also flawed.  Use the
following instead:

                  elif operator in 'Xx*":


--
Rainer Deyke (root at rainerdeyke.com)
Shareware computer games           -           http://rainerdeyke.com
"In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" - Abigor





More information about the Python-list mailing list