Today we shall learn how to draw shapes other than rectangle, with the help of LINES and PATHS. A PATH…