Light Mode
Dark Mode
i don't understand how to count

def count_words(text, words):///

count=0///

for words in text:///

    count = count +1///

return count///

why doesn't this work?

also, why can't i use

count += 1?

..or am i using it wrong..

Created: July 31, 2015, 6:28 p.m.
Updated: Aug. 4, 2015, 10:29 p.m.
0
2
User avatar
tooarrhythmic