Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # just realized sloth is fun ;)
- def checkTitle(title):
- l = title.split(" ")
- is_title = True
- for word in l:
- if not word[0].isupper():
- is_title = False
- return is_title
- title = "Water is transparent"
- print(checkTitle(title))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement