[Tutor] or

Terje Johan Abrahamsen terjeja@hotmail.com
Tue, 25 Jun 2002 17:40:03 +0000


I have the following:
>>>ffac.xlpol =u'NAB02658508'

Then I try:
>>>if ffac.xlpol[0] == u's' or u'S':
... 	print"yes"
...
yes

This is clearly wrong. If I remove the or and the last u'S' it works. How 
can I get it to do the if statement if either u's' or u'S' is correct?

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com