Check Yourself!


#1

Seems to be taking issue with the syntax re: the ‘else’ statement - any thoughts? Thanks very much in advance.

https://www.codecademy.com/courses/learn-python/lessons/pyglatin/exercises/check-yourself?action=lesson_resume

<original = raw_input("Enter a word: ")
if len(original) > 0:
  print original
  
  else:
    print "empty"

 File "python", line 8
    else:
       ^
SyntaxError: invalid syntax>

#2

else should be after if, not nested inside if, so else should have the same indent level as if


#3

Ahhh you genius, thanks again.


#4