+ 4
Doubt
What is the code to do this When we type a text,how do we flip it and print it E.g:When the text is rat , it should print tar
5 Respuestas
+ 3
I wrote it for you:
https://code.sololearn.com/wXPyfKKlIqtO/?ref=app
+ 3
Thanks everyone
+ 1
Any language
If python, great
+ 1
Yes,reverse a string
+ 1
st = "rat"
print(st[::-1])
OUTPUT:
tar