plotting and more about classes typearraywhich pylab inherits from numpy the invocation pylab array makes this explicit there are number of convenient ways to manipulate arrays that are not readily available for lists in particularexpressions can be formed using arrays and arithmetic operators considerfor examplethe code pylab array([ ]print ' =' * print ' =' print ' =' print ' =' print ' =' print ' * =' * the expression * multiplies each element of by the constant the expression + adds the integer to each element of the expression - subtracts each element of from the corresponding element of (if the arrays had been of different lengthan error would have occurredthe expression * multiplies each element of by the corresponding element of when the above code is run it prints [ [ [ - [- - - * there are number of ways to create arrays in pylabbut the most common way is to first create listand then convert it figure repeats the three subclasses of mortgage from each has distinct __init__ that overrides the __init__ in mortgage the subclass tworate also overrides the makepayment method of mortgage numpy is python module that provides tools for scientific computing in addition to providing multi-dimensional arrays it provides variety of linear algebra tools