Stuck at 4/11 - Code not working


EDIT: I figured it out, never mind :wink:

This is my code.

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

I checked and rechecked and I can’t find anything wrong, but whenever I click “Run”, it says

File “python”, line 7
SyntaxError: invalid syntax

Please help!


Mix of tabs and spaces. The first indent has 8 spaces, the second 1 tab. Switch both the either 2 or 4 spaces.


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