Reverse String Function

  • Share this:

Code introduction


This function takes a string argument and returns the reversed version of the string.


Technology Stack : String slicing

Code Type : String Handling Function

Code Difficulty : Beginner


                
                    
def aord_reverse(a_string):
    return a_string[::-1]                
              
Tags: