<human>:  Write me a Python function to deterministic dictionary printing.
<bot>: Here is a Python function to deterministic dictionary printing

import random

def print_dict(d):
  """
  Print a dictionary in a deterministic order.
  """
  for k, v in sorted(d.items()):
    print((k, v))

# Enter the dictionary
d = {'a': 1, 'b': 2, 'c': 3}

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

#Example Output

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

#Remember to inspect code for bugs.