(Turtle: draw a line) Write the following function that draws a line from point
p1 ([x1, y1]) to point p2 ([x2, y2]).
# Draw a line
def drawLine(p1, p2):
Sorry the answer is not available at the moment…
If you are able to find the answer, please make sure to post it here. So that your Juniors have smile on their lips and feel happy.
Spread the 'tradition of sharing'.