Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It does exist for strings, but the list contains both `.count('string2')` and `.count(object1)`.


It also works on lists, I think he got confused.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: