You have to use the count method to do this:
statement="how many have I use how many and how"
To count the number of appearances:
from collections ...READ MORE
for c in "string":
You can use word.find('o') as well to ...READ MORE
You can use split() using space as ...READ MORE
if you google it you can find. ...READ MORE
colors = ['red', 'green', ...READ MORE
can you give an example using a ...READ MORE
You can simply the built-in function in ...READ MORE
Python strings are immutable, you change them ...READ MORE
>>> print len(mylist)
0 READ MORE
Already have an account? Sign in.