+ 7
iter is a iterator?
¿iter es un iterador?
2 ответов
+ 3
Hi!
No, it returns an iterator for the given object. The iter() function creates an object which can be iterated one element at a time. These objects are useful when coupled with loops like for loop, while loop.
You can refer this article to understand its concept clearly.
https://www.programiz.com/JUMP_LINK__&&__python__&&__JUMP_LINK-programming/methods/built-in/iter
+ 2
JUMP_LINK__&&__Python__&&__JUMP_LINK Learner
Thank you a lot
The website this is very good.