human
Here is a python function for, print dictionary in the input order.
assistant
Here is a Python function to here is a for, print dictionary in the input order

import json

def print_dictionary(dictionary):
    """
    Print a dictionary in the order it was input.
    """
    for key in dictionary:
        print((key, ":", dictionary[key]))

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

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

#Example Output
# ('key1', ':', 'value1')
# ('key2', ':', 'value2')
# None

#Remember to inspect code for bugs.