here how we are calling the iter and next without using class.method(parameters) syntax
What are magic functions?
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…