Count() doesn't count all occurrences

Couldn’t you have demonstrated the issue with just print('1 2 2 3'.count(' 2 ')) (returning 1, expecting 2)?

1 Like