human
Can you show me a Python program to print out cache in Python.
assistant
Here is a Python program to print out cache in Python

import random

def _printCache():
    """
    Print out cache
    """
    print("Cache:")
    for key in cache:
        print(("\t", key, ":", cache[key]))

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

# Calling the function
print((_printCache()))

#Example Output

# Cache:
# ('\t', 'key1', ':', 'value1')
# ('\t', 'key2', ':', 'value2')
# None

#Remember to inspect code for bugs.