#programming #programming/python #semester-2
A library is another python program with already-made functions and methods that you can use in your program.
We can import, or use, libraries by using the import command:
import matplotlib
import numpy as npYou can also give libraries shorthand names by using as. In the example above, instead of writing numpy.sin(), i could write np.sin()