The triangle command takes as arguments three points or a list of three points.
triangle returns and draws the triangle with the given vertices. Input:
Output: