Oct-12-2017, 08:57 AM
hello guys ,
actually I need some help to solve this problem by bython :
Assume s is a string of lower case characters.
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
but I need to solve this problem with for or while loops or both of them
I am a new learner of bython
and I've spent much time solving it but the output is always wrong
actually I need some help to solve this problem by bython :
Assume s is a string of lower case characters.
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
but I need to solve this problem with for or while loops or both of them
I am a new learner of bython
and I've spent much time solving it but the output is always wrong