Human: Give me a Python program to get the dicitonary keys as a list. Assistant: 
Here is a Python program to get dicitonary keys as list

import json

def get_keys(dictionary):
    """Returns a list of the keys in the dictionary."""
    return list(dictionary.keys())

# Enter the dictionary
dictionary = {"key1": "value1", "key2": "value2"}

# Calling the function
print((get_keys(dictionary)))

#Example Output
# ['key1', 'key2']

#Remember to inspect code for bugs.