How can I make this more efficient? And Without using split() and join() | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

How can I make this more efficient? And Without using split() and join()

https://code.sololearn.com/cCIL3y9zJnbX/?ref=app

9th Jul 2022, 10:05 AM
SB情
SB情 - avatar
3 Respostas
+ 2
You can do it without split and join, but I bet it will be less efficient
10th Jul 2022, 12:23 AM
Emerson Prado
Emerson Prado - avatar
0
Input: some text in my book Output: emos txet ni ym koob
9th Jul 2022, 10:35 AM
SB情
SB情 - avatar
0
If you want to reverse order of letters while keeping words order, than I can't think of doing it without seperating the words at some point. Sorry!
9th Jul 2022, 10:44 AM
Herr Rozwel
Herr Rozwel - avatar