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

More By Author:

Check out these other kata created by Avanta

Stats:

CreatedDec 2, 2017
Warriors Trained11
Total Skips0
Total Code Submissions24
Total Times Completed6
Python Completions6
Total Stars0
% of votes with a positive feedback rating50% of 5
Total "Very Satisfied" Votes2
Total "Somewhat Satisfied" Votes1
Total "Not Satisfied" Votes2
Total Rank Assessments5
Average Assessed Rank
6 kyu
Highest Assessed Rank
1 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • Avanta Avatar
Ad