What are magic functions?

here how we are calling the iter and next without using class.method(parameters) syntax

Hey,
These magic functions don’t require any class name to call.
They are inbuilt in python and can be used anywhere in the python code…