[Python-ideas] string method count()

Julia Kim julia.hiyeon.kim at gmail.com
Wed Apr 25 14:22:24 EDT 2018


There’s an error with the string method count().

x = ‘AAA’
y = ‘AA’

The output is 1, instead of 2.

I write programs on SoloLearn mobile app.

Warm regards,
Julia Kim

More information about the Python-ideas mailing list