<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>
<Below this line, add a link to the EXACT exercise that you are stuck at.>
<In what way does your code behave incorrectly? Include ALL error messages.>
Good day! I just wanted to ask, is my code below is effective? Can it be shorter?
The code works, though – just being curious.
<What do you expect to happen instead?>[spoiler] ```python pyg = 'ay' original = raw_input('Enter a word:')
if len(original) > 0 and original.isalpha():
word = original.lower()
first = word
new_word = word + first + pyg
new_word = new_word[1:len(new_word)]
[/spoiler] <do not remove the three backticks above>