+ 1
Can anyone tell me how to reverse a word in python? Example: Hello becomes olleh
3 Respuestas
+ 7
x= " Hello "
print(x[::-1])
//I know providing direct code is illegal
This what you need I think.
It's very simple.
I'll recommend you to go through your python course once 😅
Thanks and Happy Coding 👍
+ 6
Though you should go with your Python course, you'll get to know about it. And also directly giving answers doesn't make any sense.(You will not understand the concept behind it)
So, I recommend you to go through this topic:
https://www.sololearn.com/learn/Python/2453/
+ 2
Thanks a lot!