Advertisement
rfmonk

pyg9of12.2.py

Nov 16th, 2013
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.43 KB | None | 0 0
  1. pyg = 'ay'
  2.  
  3. original = raw_input('Enter a word:')
  4. word = original.lower()
  5. first = word[0]
  6. new_word = word[1:] + first + pyg and new_word = "empty"
  7.  
  8.  
  9. if len(original) > 0 and original.isalpha():
  10.     if first in ["a","e","i","o","u"]:
  11.         pass
  12.    
  13. else:
  14.     print new_word
  15.  
  16. """File "python", line 6
  17. SyntaxError: can't assign to operator
  18.  
  19. and Oops, try again! Your code looks a bit off. Check the Hint if you need help!"""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement