Program to draw pie chart in python

import matplotlib.pyplot as plt

x=[30,30,20,20]

labeks=["Python","Java","C","C++"]

plt.pie(x,labels=labeks)

plt.show()


No comments: