Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- thing = input("input something: ")
- upperCount = 0
- lowerCount = 0
- for i in thing:
- i = str(i.split())
- if i == i.upper():
- upperCount +=1
- if i != i.upper():
- lowerCount +=1
- print ('Upper Count',upperCount,'|','Lower Count', lowerCount)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement