next « Buildin Function « Python






1.next() raises a StopIteration exception tellint the for loop to terminatenext() raises a StopIteration exception tellint the for loop to terminate
2.iter: Iterator Types iter: Iterator Types