You are given a task to design a doughnut chart that represents the proportion of students enrolled in different programming courses. Fill in the blank so that the chart looks as follows:
import matplotlib.pyplot as plt
plt.figure(figsize=(10, 6))
plt.pie([17, 14, 12, 5],
labels=['C', 'Python', 'Java' ,'PHP'],
colors=['teal', 'skyblue', 'darkorange', 'gold'],
wedgeprops={'width':0.2},
# your code here
)
plt.title('Students enrolled in programming classes')
plt.show()
Tip: Each slice is 3% away from the main pie chart.