What's wrong with "thegame" code at the bottom?


#1

print 'Welcome to the Pig Latin Translator!'

original = raw_input("What's is your name buddy?")# Start coding here!
if original.isalpha():
print (original)
else:
print "That is not a name"

thegame = raw_input ("Left or Right?")
if answer: "Left"
print "You are correct!"
else:
print "You are so wrong..."


#2

Hello

What lesson is this?
Can you describe the error you are experiencing.

Thanks


#3

The question is not based on any lesson. The OP should realize that we cover lesson related questions in the Q&A, not individual detours from the lesson, which the above clearly is one of.

The OP is advised to stick to the lesson, and follow the instructions given. Be sure to read the lesson text and do any review of concepts that is needed.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.