Cubic splines are used to smoothly connect the dots. Write implementation of the class Curve that:
(x, y).n-1 splines for n unique knots.y for given x.min and max of the curve.+, -.More detailed description of the class with names of methods is in the docstrings in the Code window.
For the given 6 lists of knots in Tests, the following curves are constructed:

x is inside the knots range, but in this challenge x can be anywhere to compute y.