Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pyg = 'ay'
- original = raw_input('Enter a word:')
- word = original.lower()
- first = word[0]
- new_word = original[1:20] + original[0] + pyg
- if len(original) > 0 and original.isalpha():
- print new_word
- else:
- print 'empty'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement