No 10 pyg latin


#1



10 PYG latin

error :
File "python", line 13
new_word = new_word[1:len(new_word)]
^
IndentationError: unindent does not match any outer indentation level

I expect the code to run


pyg = 'ay'

original = raw_input('Enter a word:')

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


#2

Hi this part

new_word = new_word[1:len(new_word)]

should be inside your if statement