Why?


#1


File "python", line 3
if len(original) > 0:
^
IndentationError: unexpected indent

Why?


pyg = 'ay'
original = raw_input('Enter a word:')
    if len(original) > 0:
        print original
    else:
        print 'Where\'s your word?'


#2

this line should have zero spaces as indention, why did you give it 4 spaces?


#3

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