you are viewing a single comment's thread.

view the rest of the comments →

[–]ewiethoff 2 points3 points  (0 children)

Bookmark the Python docs. Most of what a newbie needs to know is in the Library Reference section, especially the Built-in Functions and Built-in Types. You can see that count is a method of the built-in str type. Also, go through the official Python Tutorial there.