user
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.

### Instruction:
You are given a string, write a code to reverse the string.

### Input:
String = "Programming"

### Response:
assistant
"""
Code to reverse a given string
"""

def reverse_string(string): 
    reversed_string = string[::-1] 
    print (reversed_string) 
    
if __name__ == '__main__': 
    reverse_string("Programming")