The word "Norwegian Blue". Its 13 words.But output is 14.Does python include spaces between words while counting no. of words?


Please leave the following link in the post so we can find the unit module, else replace it with a link to the exact lesson:

Strings and Console Output


len() counts all characters in string, spaces are considered characters.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.