Good morning, everyone.
Let's warm up for the start of the week by playing with strings.
s'yadoT egnellahc semoc from user xDranik on sraWedoC!
Write a function that takes in a string of one or more words and returns the same string, but with all words with five letters or more reversed. Strings passed in will consist of only letters and spaces.
Be sure to keep the order of the words the same and only reverse the letters.
Good luck, yppaH gniedoc!
Want to propose a challenge for a future post? Email email@example.com with your suggestions!