Code works but doesn't scramble


Sure my code works but it doesnt scramble the input, sooo did I do something wrong?

pyg = 'ay'

original = raw_input('Enter a word:')

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


you do scramble the input, you just don't print the scrambled version (you print the original version)


@stetim94, Yeah I saw it myself just now....

stupid mistake :expressionless: