5 ms·
It does exist for strings, but the list contains both `.count('string2')` and `.count(object1)`.
by nemetroid 14y ago
It does exist for strings, but the list contains both `.count('string2')` and `.count(object1)`.
- TazeTSchnitzel 14y agoIt also works on lists, I think he got confused.