Replace this line with your code.
you need to cast your input to a string:
original = str(input("enter a word"))
Next time, please include some more details in your question
I got what was the mistake. It is was just a silly spelling mistake in 'alpha'