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
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 ]
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……
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.
Good sir ji๐๐๐
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
sir why are we using raise ? can we not use break
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
Sir, why to use iterators???
Naveen sir please clear this doubt
It will print 1 or 11?
class top ten is not clear
Sir class vala bilkul smj ni aaya
It's very funny when you said to NONE iteration "eehh HOLD on"
sir any real world example of iterator ? and difference between iterator and generator ?
Nice mustache! It suits you Sir. ๐
Hey if we have for loop to print 1 to 10 number, why should we use this iterator
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
]
what is the use of- values=toptens ?
list is already an iterator.why making it iterator again
binod
bonod
1,12345678910
is there any way of using variable in place of self.num = 1 means self.num = n and then iterate it for 10 times
Sir why can't we use break statement ๐ค๐ค
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……
So why we use loop if we have iterators
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.
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?
sir i have a question
Why u used " raise StopIteration " ? why not u use " Break " instead ??? please explain anyone
if I use exit() instead of Raise Iteration then what problem would I face?