Can you find the number of space characters in a paragraph? You need to implement a program to find the number of spaces.
Question: Write a loop that counts the number of space characters in a string.
Recall that the space character is represented as we are in the part of while and for loops, so please use one of those.