Generate 50 random numbers and draw them as bars. Following the steps of selection sort algorithm and redraw the bar every single step to show how bubble sort works. Compare
Draw the 50 random isosceles trapezoids with random locations, random sizes, and random filled colors. Hints: Create a function that draws isosceles trapezoids given position, direction, height, base and top