I'm really new to python, and I've just made a small program. If you type in "Hello" or "hello", and it will say "working", if you type in anything else it will say "not working". Here's the code I have so far:
print "Type in 'Hello'"
typed = raw_input("> ")
if (typed) == "Hello" or "hello":
print "Working"
else:
print "not working"
The code isn't working, no matter what I submit it will always say "Working", even if I type "jsdfhsdkfsdhjk". It does work if I take out the "or" and "hello", but I would like to to check for both. How can I make the script work?
Thanks a lot!!