Do spacebar counted as a string in python ?
Answers
Answered by
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
Math,
3 months ago
English,
3 months ago
English,
3 months ago
Social Sciences,
7 months ago
English,
7 months ago
Music,
11 months ago
Math,
11 months ago
Social Sciences,
11 months ago