I am just back messing around a bit with programming. I am trying to clear out the mental cobwebs. I thought any non empty string evaluates to True. but according to my code, it does not apear so
word = 'abc'
if word is True:
print 'yes'
else:
print 'no'
this gives me 'no' for output. I would think it should give me 'yes'. What am I doihg wrong