User:Simulator-master/sandbox

This will be a article idea/draft/whatever page

=Magic or dunder methods(Object oriented programming)=

Introduction
The dunder or magic methods are useful when you call a instance of a class/object using certain functions,others are needed for other things

__init__ method
The  method is used to initialize the object, it is also the place where you can add arguments to the class, as shown:

The output is: foo How this works it that in ,there is   and   in the parenthesis,self "binds" it to the class,and foo,is an argument