+ 2
'count' method for a string
Why 'count' method with argument('') aplied for a string returns value greater than real value? https://code.sololearn.com/cFN3LRo4eZ16/?ref=app
1 Answer
+ 11
Because you put empty string so it return "borders" between characters it is how it is counted - 1a2b3c4d5 so 5.