most recent call last error in python

technical talkiess
0

 Traceback (most recent call last):

  File "c:\Users\ukv-208\Downloads\prac\python\oops.py", line 8, in <module>

    print(number.__next__())

          ^^^^^^^^^^^^^^^^^

StopIteration



Solution:- generators me item nahi hai ki usko iterate kar sakte matlab item finish or us key exist nahi hai


Post a Comment

0Comments

Thanks you for commenting your questions. I will see question and respond you.

Post a Comment (0)