Комментарии:
The perfect video on Iterators exists. Thanks for the video. New sub ✌️
Ответитьgreat vid, however I've a slight misunderstanding why do we return the result in the next function and not just return result * 2
ОтветитьGotta hand it to you - that was short, concise, and explained well. Thank you :)
Ответитьbrother i m like 9 yr old and i only understand from ur concepts and video even not by my own father! thanks a lot... hats off to you
ОтветитьHello, thanks for the explanation. I have a question. In the "generators" video, you mention that the "return" statement destroys the state of the local variables whereas a yield keyword remembers the local variable state. When you instantiate an object of the class Even (numbers) in this video, and call next on this object, how does it remember the updated self.n value in the next call, if the return statement does not remember the state of the local variables? Thanks in advance.
Ответитьnice explaing bro
Ответитьin a loop can you just use enumerate ? for i , v enumerate(things) i will keep track of the loop counts
Ответитьhello there is a slight confusion in the init method the argument are two but while initializing it there is self.n?
ОтветитьHonestly i don't know how can i use this in my program.
Ответитьi have gone thru your website. its really nice.
ОтветитьHad to download the mobile app after a quality video like this
ОтветитьGood explanation but you move your head alot
ОтветитьLost from self.n might need to to to Class lesson?
Ответитьwith dir(numbers) we can see methods in a module. How to see the code of that method. Is there any way to see code of _iter_ method
ОтветитьThanks for this video.. very helpful..
ОтветитьThe mobile App is unbelievably amazing.
ОтветитьThanks for all your hard work - love your website and vids!
ОтветитьSo easy and helpful ❤️ thank you so much ❤️
ОтветитьYou are just too good ;-;
ОтветитьFantastic video. I like the cadence you use to teach the concepts. Kudos.
ОтветитьHello,
I am confused about the implementation of the custom iterator, you never used the _iter_ function to "initialize" the iterator as you would with the built in iter() function, and the custom _iter_ function doesnt return an iterator but an Even object.
Also it compiled fine after removing the _iter_ function, i tought it was mandatory to have implemented the _iter_ function ?
otherwise clear explanation
This it's a great explanation, you are amazing
ОтветитьNice explanation
Ответитьgreat explanation
ОтветитьWill you teach us about multi-threading or multi-processing? :D
ОтветитьAwesome video, keep up the amazing work! :)
Ответитьa python god
ОтветитьSuperb
ОтветитьEvery time new thigs avalabe this chhanel
ОтветитьFirst here
Ответить