Solution Exercise 553 : python matplotlib code to draw a line passing through given two points
Exercise Give the Python code matplotlib which draws the line D (A, B) passing through the two points A (1,2) and B (2,3). Solution import numpy as npimport matplotlib.pyplot as…