0
String
Iâm trying to create a project, where the user is prompted for an input(input is a phrase, like âEverything%%^^ smells%#* good**^%#â). I want the output to be âerythingev ellssm odogâ. The project will remove the first two elements from each word and insert it at the back of the word and remove the special characters.
2 Answers
+ 2
I see you've completed the python coarse...with that in mind.......try using regular expressions module (re). You can pull all the words and use string slicing.