Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. """print words in all lower, then print words with upper case characters"""
  2. user=input ("please enter a string")
  3. words = user.strip().split()
  4. for word in words:
  5.     if word.islower():
  6.        print word
  7.        del word
  8. for word in words:
  9.     print (word)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement