Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- """print words in all lower, then print words with upper case characters"""
- user="please enter A string Beat"
- words = user.strip().split()
- for word in words:
- if word.islower():
- print word
- print "----------"
- for word in words:
- if word.isupper():
- print (word)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement