I recently started to learn Python programming. It goes as following:
For s = 'xasdkbobobasdvobob'
, find the number of occurences of 'bob' in s.
I've been able to write a code that will give me an output of 2 however the answer I'm looking for is 3.