is def __init__ a function code example
Example: what is __init__ in python
# If you are familiar with C++ or Java think of the __init__ method as a constructor.
# It is the method that is being called when the class is called.In the following
# example we will see how we can call the __init__ method
my_variable = MyClass()