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 form of the string.
Technology Stack : String slicing
Code Type : Function
Code Difficulty : Beginner
def string_reverse(s):
return s[::-1]