Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
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.
1 Resposta
+ 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.