The polygon command takes as argument a sequence or list of points.
polygon returns and draws the polygon with the given vertices. Input:
Output:
Input: