You can download this code by clicking the button below.
This code is now available for download.
This function takes a string as input and returns the reversed version of the string.
Technology Stack : String slicing
Code Type : String operation
Code Difficulty : Beginner
def string_reverse(input_str):
return input_str[::-1]