Object oriented programming
Object oriented programming#
In the first part of this book you covered a number of tools that allow you to
carry out mathematical techniques. One example of this is the sympy.Symbol
object that creates a symbolic variable that can be manipulated. In this chapter
you will see how to define similar mathematical objects.
Important
In this chapter we will cover:
Creating objects.
Giving objects attributes.
Defining methods on objects.
Inheriting new objects from others.