Please help me :) 8/11 , Python , 8 Word Up PygLatin


pyg = 'ay'

original = raw_input('Enter a word:')

if len(original) > 0 and original.isalpha():
print original
word = original.lower()
first = word[0]
print 'empty'

File "python", line 6
print original
IndentationError: expected an indented block

Oops, try again. Did you create a variable called word?


Well, have you indented line 6 correctly? It's a pretty big deal in python :stuck_out_tongue:


Yup, it kills you, literally. Had my brain racking for hours because of that. :confused: STILL AM :angry:

But you know... I'll learn.... uh right? :smiley:


Haha, it is a bit of a double edged sword. It's fast to write and looks pretty, but it can lead to horrible troubleshooting when you are careless and start mixing tabs and spaces for example.