Please use what you already know about drawing and animating shapes along with your new knowledge of arrays and functions to write a program. You can modify a program you have already written or write a new one from scratch. It can be animated or static.
Remember arrays are like lists. You could write a function that draws a shape where the point's values are held in arrays or you could use an array to assign values to your function's parameters in a for loop that calls the function.
Good luck and have fun with the assignment!