Created
May 4, 2022 13:43
-
-
Save raghavmri/fe54d486a80bd5b28431264ed734007d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Q14 A | |
string = input() | |
sub_string = input() | |
string.count(sub_string) | |
# Q14 B | |
# 1. ('b', 'o', 'o', 'k') | |
# 2. (1, 2, 4) | |
# 3. ('Riya', 'Riya', 'Riya') | |
# 4. 74 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment