Computer Science, asked by rajraniduhan82, 6 months ago

Do spacebar counted as a string in python ?

Answers

Answered by architasahu
0

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.

hope it helps you

mark my answer as brainliest answer

thank you

Similar questions