Kompiler Python online
Use this site
https://repl.it/languages/python3
Erorri Motrali
Use this site
https://repl.it/languages/python3
import matplotlib.pyplot as plt
x=["science","commerce","arts"]
h=[200,300,500]
plt.bar(x,h)
plt.xlabel("courses")
plt.ylabel("students enrolled")
plt.title("students enrolled for different courses 2020")
plt.show()
x=[1,2,3,4]
y=[2,4,5,6]
plt.plot(x,y)
plt.show