what about characters?
Here's a big hint:
You'll need one more counter variable
Use a for loop inside the main loop
list objects (in this case listOfWords) are itterators, so use
-
for item in listOfWords:
-
# use len() to count characters
-
# accumulate total count
-
I'll bet you get it!
Post what you come up with...