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


#1

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


#2

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


#3

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