+ 6

Hi, Why the output of my code is:ogay overay erethay instead of :ogay veroay heretay(in Pig Latin) ?

The input is: go over there. https://code.sololearn.com/c6QF1qMlqfSw/?ref=app

17th Dec 2021, 4:34 AM
Egor Tonchev(EGO)
Egor Tonchev(EGO) - avatar
2 Respuestas
+ 6
May be but I want in the way above.
17th Dec 2021, 6:04 AM
Egor Tonchev(EGO)
Egor Tonchev(EGO) - avatar
0
Best way in python to do it is to slice it with [::-1]. Fast and simple.
17th Dec 2021, 5:18 AM
Herr Rozwel
Herr Rozwel - avatar