Guest User

Untitled

a guest
Oct 22nd, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. x = raw_input("code: ")
  2. x = x.split()
  3.  
  4. y = []
  5. for a in x:
  6.     if a[0].isupper():
  7.         y.append(a)
  8.  
  9. y.reverse()
  10. y = " ".join(y)
  11. print "says:", y.lower()
Add Comment
Please, Sign In to add comment