Week 6: December 14 - 20. Char arrays 1
Indexes of spaces
Find the indexes of the first and the last spaces in the given string, if the first character has index "0"..
One line of text, consisting only of Latin letters, punctuation marks and spaces.
Print the indexes of the first and the last spaces. If there are no spaces in the line, print -1.
I am programming on Python.