I want to understand arguments of the constructor __init__ in Python.
__init__
class Num: def __init__(self,num): self.n = num def getn(self)
The current object is explicitly passed to the method as the first parameter. self is the conventional name. You can call it anything you want but it is strongly advised that you stick with this convention to avoid confusion.
self