Write a python function that accepts a string and reverses it


Topic: Write a python function that accepts a string and reverses it

Solution

def reverse(st):
    return st[::-1]



List all Python Programs