Add a Legend
Both lines are already labelled. Add
plt.legend() to make the labels appear on the plot.Premium
Expected:

Output:
Python
Setting up Python environment... Output
plt.legend() to make the labels appear on the plot.
Setting up Python environment...