PygLatin Trobles


#1



Please help! I feel like running out of the room screaming. THX :heart_eyes: :innocent: :jack_o_lantern:

https://www.codecademy.com/en/courses/python-beginner-2W5v7/0/4?curriculum_id=4f89dab3d788890003000096#


This is what it says exactly:
File "python", line 7
if: len(original) > 0:
^
SyntaxError: invalid syntax

I DIDN'T WANT THAT TO HAPPEN???!!!


print 'Welcome to the Pig Latin Translator!'

# Start coding here!
raw_input("Enter a word:")
original = raw_input('Enter a word:')

if len(original) > 0:
    print original
else:
    print "empty"


#2

if i look at the error message:

if: len(original) > 0:

you have a colon directly after the if keyword, but i don't see it in the code you posted below, could you post the code which gives the error?


#3

:blush: YAYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY


#4