human
Write me a Python program to add horizontal lines to the program.
assistant
Here is a Python program to add horizontal lines to the program

import matplotlib.pyplot as plt

def add_horizontal_line(x, y, color='black', linewidth=1):
    """
    Add a horizontal line to the current plot.
    """
    plt.plot([x], [y], color=color, linewidth=linewidth)

# Enter the data
x = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
y = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

# Calling the function
print((add_horizontal_line(x, y)))

#Example Output
# None

#Remember to inspect code for bugs.