Discover a world of knowledge and community-driven answers at IDNLearn.com today. Discover the information you need quickly and easily with our reliable and thorough Q&A platform.
Forgot the Spaces
Oops, you've just written a very short paper for your science class and forgot to put spaces after the periods. Instead of retyping everything like a savage, you decided to write a program to do it for you.
The method forgotSpaces will take a single parameter str that will contain exactly 2 periods, and no period will be at the end of str, but a period could be the first character.
You may assume that no periods already have spaces after them.
Thank you for participating in our discussion. We value every contribution. Keep sharing knowledge and helping others find the answers they need. Let's create a dynamic and informative learning environment together. IDNLearn.com is dedicated to providing accurate answers. Thank you for visiting, and see you next time for more solutions.