human
What is a good Python code to draw a vertical line in on a graph.
assistant
Here is a Python code to draw a vertical line in on a graph

import matplotlib.pyplot as plt

def draw_line(x1, y1, x2, y2):
    """
    Draws a line from (x1, y1) to (x2, y2)
    """
    plt.plot([x1, x2], [y1, y2])

# Enter the x1, y1, x2, y2
x1 = 1
y1 = 1
x2 = 2
y2 = 2

# Calling the function
print((draw_line(x1, y1, x2, y2)))

#Example Output
# None

#Remember to inspect code for bugs.