#61 Python Tutorial for Beginners | Iterator

///#61 Python Tutorial for Beginners | Iterator

#61 Python Tutorial for Beginners | Iterator

FavoriteLoadingAdd to favorites

Github :-

source

By |2020-10-15T10:06:15+00:00October 15th, 2020|Python Video Tutorials|25 Comments

25 Comments

  1. Ritesh Jaiswal October 15, 2020 at 10:06 am - Reply

    Good sir ji๐Ÿ‘๐Ÿ‘๐Ÿ‘

  2. Mounika K October 15, 2020 at 10:06 am - Reply

    what is the use i dint understand
    when u want to print one by one it is done in 1st example
    bt in 2ns e ample own iterator all numbers are printed at once not as u told one by one
    dint understand whatโ€™s the real use u want to tell sir

  3. HAMZA BOHRA October 15, 2020 at 10:06 am - Reply

    sir why are we using raise ? can we not use break

  4. Shri Hari October 15, 2020 at 10:06 am - Reply

    hiii bro, create the own class that not repeat again values…but inbuild the value or nums it can repeating ….i wanna clear about it this video

  5. PRATIK ROUT October 15, 2020 at 10:06 am - Reply

    Sir, why to use iterators???
    Naveen sir please clear this doubt

  6. PRASHANT KUMAR GAUTAM October 15, 2020 at 10:06 am - Reply

    It will print 1 or 11?

  7. JimIndia H October 15, 2020 at 10:06 am - Reply

    class top ten is not clear

  8. gulshan khanna October 15, 2020 at 10:06 am - Reply

    Sir class vala bilkul smj ni aaya

  9. Irfan Ali October 15, 2020 at 10:06 am - Reply

    It's very funny when you said to NONE iteration "eehh HOLD on"

  10. MINESH PATEL October 15, 2020 at 10:06 am - Reply

    sir any real world example of iterator ? and difference between iterator and generator ?

  11. zeeshan ansari October 15, 2020 at 10:06 am - Reply

    Nice mustache! It suits you Sir. ๐Ÿ™‚

  12. Banti Garg October 15, 2020 at 10:06 am - Reply

    Hey if we have for loop to print 1 to 10 number, why should we use this iterator

  13. Chennamsetty Vinay October 15, 2020 at 10:06 am - Reply

    Write a python program using recursion to traverse every single element of the nested
    list.
    [10,20,15,[11,โ€helloโ€,25.5,[123,15,โ€hiโ€,[10,20],52],100,200],15,50,[51,โ€welcomeโ€],1000
    ]

  14. M SARKAR October 15, 2020 at 10:06 am - Reply

    what is the use of- values=toptens ?

  15. bharath kumar October 15, 2020 at 10:06 am - Reply

    list is already an iterator.why making it iterator again

  16. Jey October 15, 2020 at 10:06 am - Reply

    binod

    bonod

  17. Piyush Kumar October 15, 2020 at 10:06 am - Reply

    1,12345678910

  18. ABHISHEK ROUSHAN October 15, 2020 at 10:06 am - Reply

    is there any way of using variable in place of self.num = 1 means self.num = n and then iterate it for 10 times

  19. Pothala Siva October 15, 2020 at 10:06 am - Reply

    Sir why can't we use break statement ๐Ÿค”๐Ÿค”

  20. keerthi chowdary October 15, 2020 at 10:06 am - Reply

    sir!!!! in the before example u have shown the repeation of values getting in output…but in this example why it is not repaeting 1 and taking next values……

  21. kamal pathak October 15, 2020 at 10:06 am - Reply

    So why we use loop if we have iterators

  22. Veeramalla Bhoomika October 15, 2020 at 10:06 am - Reply

    Sir, At last when we call print values then we should two ones because of init function and other one is because of iter function but we are getting only one value of 1. I am not understanding this can you help me in this.

  23. Vinayak Kokane October 15, 2020 at 10:06 am - Reply

    I am beginner in coding… started directly with you videos. Doubt here… with for loop code simpler than iterator then why iterator should be used?

  24. iamniks October 15, 2020 at 10:06 am - Reply

    sir i have a question
    Why u used " raise StopIteration " ? why not u use " Break " instead ??? please explain anyone

  25. Pratik Gon October 15, 2020 at 10:06 am - Reply

    if I use exit() instead of Raise Iteration then what problem would I face?

Leave A Comment

*