0

How do you run the inverse or reversed of a string

Code problem on extra-terrestrials

24th Jun 2020, 4:24 AM
Abraham Zimba
Abraham Zimba - avatar
4 ответов
+ 7
Share your attempt first
24th Jun 2020, 4:30 AM
ÃKR
ÃKR - avatar
+ 3
Hint: It is the one line code to reverse something. But share your creation first.
24th Jun 2020, 5:25 AM
Arctic Fox
Arctic Fox - avatar
0
def greeting(): return "hello" print(greeting()[::-1])
24th Jun 2020, 2:07 PM
Abraham Zimba
Abraham Zimba - avatar