image_output_1.png
import matplotlib.pyplot as plt

classes = ['Python', 'R', 'AI', 'ML', 'DS']
class1_student = [45, 25, 35, 40, 30]

plt.pie(class1_student, labels=classes, autopct='%0.1f%%', explode=(0, 0, 0, 0.2, 0))
plt.show()