The first method,__init__, looks a bit strange—its name has two underscore characters on either side. When Python is creating a new instance of a class, it automatically calls the method__init__. The number of parameters that__init__ should have depends on how many parameters are supplied when an instance of the class is made. To unravel
that, we need to look at this line at the end of the file:
.