Exercise: Add Second Line to Plot

Add a second line to the plot using the provided data. Make sure it matches the appearance of the line shown in the expected output.
Expected:
matplotlib expected figure
Output:
import matplotlib.pyplot as plt x = [1, 2, 3, 4, 5] y1 = [2, 5, 8, 12, 9] y2 = [10, 6, 2, 1, 6] plt.plot(x, y1, marker='D') # add second line here:
plt.show()
Python
Setting up Python environment...
Output