sirtacoface

codeshit

Jan 7th, 2015
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. pyg = 'ay'
  2.  
  3. original = raw_input('Enter a word:')
  4.  
  5. if len(original) > 0 and original.isalpha():
  6. print original
  7. else:
  8. print 'empty'
  9. word = "Hello"
  10. word = original.lower()
  11. print "Word is: " + word
  12. first = original.lower()
  13. first = "word"[0]
  14. print "First is: " + first
  15. second = "first"[1]
  16. third = "second"[2]
Advertisement
Add Comment
Please, Sign In to add comment