Draft
Reverse odd words
Description:
DONT SOLVE THIS KATA IM JUST TESTING SOMETHING (I KNOW IT IS BAD DONT DOWNVOTE)
Your task is to reverse every odd word in a string.
A word is seperated by spaces and can contain punctiation.
For this kata, the first word is indexed at 1, and therefore you should reverse the first word of a string.
For example Hello, my name is Jeff!
should become ,olleH my eman is !ffeJ
.
None of the sentances will start with a space. However you may be given an empty string as your sentence.
Good luck!
Strings
Parsing
Similar Kata:
Stats:
Created | Dec 2, 2017 |
Warriors Trained | 11 |
Total Skips | 0 |
Total Code Submissions | 24 |
Total Times Completed | 6 |
Python Completions | 6 |
Total Stars | 0 |
% of votes with a positive feedback rating | 50% of 5 |
Total "Very Satisfied" Votes | 2 |
Total "Somewhat Satisfied" Votes | 1 |
Total "Not Satisfied" Votes | 2 |
Total Rank Assessments | 5 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 1 kyu |
Lowest Assessed Rank | 8 kyu |