Advertisement
Guest User

Untitled

a guest
Feb 20th, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. pyg = 'ay'
  2.  
  3.  
  4. original = raw_input('Enter a word:')
  5.  
  6. if len(original) > 0 and original.isalpha():
  7. print original
  8. word = original.lower()
  9. first = word[0]
  10. new_word = word + first +pyg
  11. new_word = new_word[1:len(new_word)]
  12.  
  13.  
  14. else:
  15. print 'empty'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement