Modify the given programs according to the requirements.
Question 9. Change line appearance
Given code:
plt.plot(months, students)
Modify it to:
Question 10. Add chart information
Given code:
plt.plot(months, sales)plt.show()
Modify it to:
Question 11. Add a legend and save the chart
Given code:
plt.plot(months, cs_students, label="Computer Science")plt.plot(months, it_students, label="Information Technology")
Modify it to:
department_enrollment.png.