iteration table shows the methods which are used with iterators furtherfollowing example is added for better understanding of the tablex [ __iter__( __next__( __next__( complete code for iteration [ __iter__(while tryprint( __next__()end=""except stopiterationbreak outputs table method for iterator method description obj __iter__(returns the iterator object iter __next__(return the next object or raise stopiteration error callable interface an instance can be used as function if the class method contains __call__ methodclass foodef __init__(selfnum)self num num def __call__(selfgreeting)print("{}the name of the class is '{}'format(greetingself __class__ __name__) foo( ('hello'instance is used as function hellothe name of the class is 'foo##############another example #########################class spamdef __init__(selfa= = )self self def __call__(selfa= = )self self (continues on next page special methods