I want to understand arguments of the constructor __init__ in Python.
__init__
class Num: def __init__(self,num): self.n = num def getn(self)
Every method needs to accept one argument: The instance itself (or the class if it is a static method).
Read more about classes in Python.