Computer Science, asked by rajraniduhan82, 7 months ago

Do spacebar counted as a string in python ?

Answers

Answered by Vighneshchilka
7

Answer:

The built-in string method isspace() returns True value if it encounters a space in the string. ... By using a counter value initialized to zero, and incrementing it whenever isspace() returns True value, one can easily find the count of the number of spaces in a string.

Explanation:

pls mark as Brainliest

Similar questions