Write a python function to accept a key, value pair and return a dictionary


Topic: Write a python function to accept a key, value pair and return a dictionary

Solution

def create_dictionary(key, value):
    return {str(key): value}



List all Python Programs