c = 0
for i in range(len(s)):
    if(s[i:i+3] == 'bob'):
        c += 1

print('Number of times bob occurs is:', c)

61987b613094b1c51f698c92ad13b8d913a9a376
<mask token>

<mask token>
for i in range(len(s)):
    if s[i:i + 3] == 'bob':
        c += 1
print('Number of times bob occurs is:', c)

c = 0
for i in range(len(s)):
    if s[i:i + 3] == 'bob':
        c += 1
print('Number of times bob occurs is:', c)

c = 0
for i in range(len(s)):
    if(s[i:i+3] == 'bob'):
        c += 1

print('Number of times bob occurs is:', c)
