Write a python program to enter a string and a substring. It should then display the number of occurrences of the given substring in the line. Example: Enter the string: Your passion will be shown by the passion of desire Enter the substring: passion The frequency of substring in string is 2
Answers
Answered by
1
Answer:
Ecologists study these relationships among organisms and habitats of many different sizes, ranging from the study of microscopic bacteria growing in a fish tank, to the complex interactions between the thousands of plant, animal, and other communities found in a desert. Ecologists also study many kinds of environments.
Answered by
0
The answer is given in the txt file since the brainly was restricting some so the commands.
Attachments:
Similar questions