I am not able to print the statement

print 'Welcome to the Pig Latin Translator!'

# Start coding here!
original = raw_input("Enter a word : ");
if len(original) > 0:
    Print "original"
    Print "empty"


Kindly say what is the error in the Print statement?


I got the error. P was capital in the print. Thank you!


you should print the variable original (which contains the user input). You currently print a string "original"


i am confused about what it is asking me to do. what did you mean by print the variable and not the string?


If you have a question, go here, make a new topic, fill in the template so we have all the information needed to help you


By putting "original" in quotes, you're specifying the string "original" as what you want to print, not actually printing out the value of the variable named original. Take out the quotes on either side of original in you print statement and it should work.


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