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


#1

pyg = 'ay'

original = raw_input('Enter a word:')

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


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

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


#2

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


#3

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:


#4

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.


#6