I can't seem to figure out what's wrong with this simple code. I have a user input and if it matches prints out 'That's good', if not prints out 'Too bad' but how can I get the input to ignore being case sensitive?
ans=raw_input("Are you feeling well today? ")
if ans == "yes":
print "That's good"
else:
print "Too bad"
I want it so if someone enters "YES" it will still print "That's good"