Skip to content

Instantly share code, notes, and snippets.

@pexceful
Created January 19, 2017 09:36
Show Gist options
  • Save pexceful/f43bdd007546adf1e6c2bef2d32f892c to your computer and use it in GitHub Desktop.
Save pexceful/f43bdd007546adf1e6c2bef2d32f892c to your computer and use it in GitHub Desktop.
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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment