How do I do this without string.count(), because it is listed as deprecated in Python v2.7.3 documentation?
string.count()
I am unable to find what I should use instea
Use len():
>>> len('abcd') 4