Code works but doesn't scramble


#1



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
else:
    print 'Only letters!'


#2

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


#4

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

stupid mistake :expressionless:


#5