GG asked ... Fix food processor motor?    |    T asked ... How do I turn the delay off on Electrolux DX302 dishwasher?    |    Helen asked ... How can I mend my Kenwood Gourmet FP505?    |    Roy Turner asked ... Kohlangaz Gosford HE fire?    |    Peter asked ... How can I mend a Powerwasher PRO PRO1800PWE?    |    Click here to ask your question

Why doesn't this code work?

I don't understand why this code doesn't work, it is from python and I have been trying to debug it for an hour! Can someone help?

print "Wlecome to Talk or Argue"
print "Type in the correct information below as prompted"

name = raw_input("Whats your name? " "")




age = raw_input("How old are you? " "")




friend = raw_input("What would you like your friend's name to be? " "")




talkOrArgue = raw_input("Would you like to talk or argue? " "")



ready = raw_input("Are you ready? Yes or No? " "")

proceed = "yes" or "Yes" or "YES" or "yES" or "yEs"

if ready == proceed:
print "You are ready"
print "You're name is", name
print "You are", age, "years old"
print "You're friend's name is", friend
print "And you are going to", talkOrArgue




argue = "Argue" or "argue"

talk = "Talk" or "talk"

if talkOrArgue == talk:
print "Well you are one of the only talkative ones"
else:
print "Wow, you are arguementative."
Roberto, December 2013
As an aside, most programing languages have something to convert a literal string to all lower or upper case.
Usualy, it's something like touper and tolower.
Using that would greatly simplify your code, and maybe solve your problem.

To cover all permutations, this statement:
proceed = "yes" or "Yes" or "YES" or "yES" or "yEs"
would realy need 8 permutations, not only 5, but only a single "yes" or "YES" after converting to all lower or upper case.

Electro, December 2013
This is not the correct place to ask.

Try in Software|Application devlopment OR on a forum dedicated to Python programming.
Take a look at python.org.

Did you try here: http://python.org/community/

Electro, December 2013