โ Back to Strings
Question 412
Count the Spaces
Count the Spaces
Count how many space characters are in the string "a b c" and print the total:
2Expected Output:
2
Topics:
Strings
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cw, cr, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.