I have a string:
ahdeg
What is the best way to reverse a string in python so it would be:
gedha
Anything would help, thanks!
Say you have a string.
string = 'Test'
string[::-1] would reverse this into 'tseT'
string[::-1]