You decide to keep track of the number of pizzas sold for each type every day with astacked bar chart. Use the turtle module to draw the bar chart with the following requirements:
- Each bar includes four rectangles representing the number of pizzas sold for eachtype. From bottom to top, they are large thick, large thin, medium thick and medium thin.
- Each rectangle is of a different color.
- Draw the x and y axes.
- The record date must be printed below the bar.
- The total number of pizzas must be printed on top of the bar.
def draw_bar_chart(record_date, large_thick, large_thin, medium_thick, medium_thin): # your logic here # you don’t need to return anything
I've been stuck on this question for 2 days. I figured out the drawing parts, but the filling colors and others is a bit much for me. Can someone help me?
Image: