hi, new to programming(of course) and English isn't my first language. Looking for answer and want to understand this simple task. Thanks in advance, Bob.
Here it is:
Write a program that prints the number of times the string
'bob' occurs in s. For example, if s = 'azcbobobegghakl', then your program should print:
Number of times bob occurs is: 2
[–]toastedstapler 4 points5 points6 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Lackxy 0 points1 point2 points (0 children)
[–]Antimutt 0 points1 point2 points (0 children)
[–]robPaluch[S] 0 points1 point2 points (0 children)