human
check if all elements in list are equal.
assistant
Here is a Python program to check if all elements in the list are equal

import random

def is_all_equal(lst):
    """
    Check if all elements in list are equal.

    >>> is_all_equal([1, 2, 3])
    True
    >>> is_all_equal([1, 2, 3, 4])
    False
    """
    return all([x == lst[0] for x in lst])

# Enter the list
lst = [1, 2, 3]

# Calling the function
print((is_all_equal(lst)))

#Example Output
# False

#Remember to inspect code for bugs.