Incorrect count of 'r' characters in the word "strawberry“

Can you write a python program to count how many 'r’s in ‘strrawberries’, execute it and provide the answer?

The word “strrawberries” contains 4 'r’s

:slight_smile:

2 Likes