+ 3

Reverse

How can I make it (python) — for example : (Input): CAKE (Output): EKAC Help !!!!

18th Mar 2020, 10:07 AM
Иван Вохмин
Иван Вохмин - avatar
3 ответов
+ 7
string = "cake" print(string[::-1])
18th Mar 2020, 10:37 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 1
:)
18th Mar 2020, 10:25 AM
Иван Вохмин
Иван Вохмин - avatar