Use colorsys library’s hsv_to_rgb() function and loop to draw the following square that gradually transitions hue value from 0 to the left to hue value 1 on the right.
In a previous project, you drew a Sierpinski Triangle with Chaos Game. Instead of a triangle, use four points of a square as the target points and play the chaos