Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- input_data1 = input()
- input_data2 = input()
- input_data3 = input()
- bot = input_data1 + input_data2 + input_data3
- for l in input_data1:
- if l.isupper() is True:
- print("Input 1 has passed the capitalisation check.")
- if l.isupper is False:
- print("Input 1 has failed the capitalisation check.")
- if else:
- print("Input 1 has skipped the capitalisation check.")
- for l in input_data2:
- if l.isupper() is True:
- print("Input 2 has passed the capitalisation check.")
- if l.isupper is False:
- print("Input 2 has failed the capitalisation check.")
- if else:
- print("Input 2 has skipped the capitalisation check.")
- for l in input_data3:
- if l.isupper() is True:
- print("Input 3 has passed the capitalisation check.")
- if l.isupper is False:
- print("Input 3 has failed the capitalisation check.")
- if else:
- print("Input 3 has skipped the capitalisation check.")
- print(bot) #This bot is supposed to check whether you are using capitalisation at the start of your sentences, and if you type something such as a symbol or number it "skips" the check.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement