human
Write me a Python function to see if all items in a list are the same.
assistant
Here is a Python function to see if all items in a list are the same

import random

def all_same(list_of_items):
    """Returns True if all items in a list are the same.

    :param list_of_items: a list of items
    :type list_of_items: list
    :returns: True if all items in a list are the same.
    :rtype: bool
    """
    return all([x == list_of_items[0] for x in list_of_items])

# Enter the list of items
list_of_items = ["a", "b", "c"]

# Calling the function
if all_same(list_of_items):
    print("All items are the same")
else:
    print("Not all items are the same")

#Example Output
# Not all items are the same

#Remember to inspect code for bugs.