human
Write me a Python function to print the contents of oredereddict.
assistant
Here is a Python function to print the contents of oredereddict

import collections

def print_ordereddict(d):
    """
    Print contents of oredereddict

    :param d: The oredereddict.
    """
    for key in d:
        print((key, d[key]))

# Enter the oredereddict
d = collections.OrderedDict([('a', 1), ('b', 2), ('c', 3)])

# Calling the function
print((print_ordereddict(d)))

#Example Output

# ('a', 1)
# ('b', 2)
# ('c', 3)
# None

#Remember to inspect code for bugs.