What are iterators used for in code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What are iterators used for in code?

I know that iterations exist, though, I have never had a chance to use them. I want to know what they do and how they're used (a link will do), so next time if I need to do something, I could use iterators instead of taking more unnecessary steps. Thanks!

12th Oct 2019, 7:48 PM
syndicate.fs
syndicate.fs - avatar
2 Answers
12th Oct 2019, 7:58 PM
Lothar
Lothar - avatar
+ 1
Thanks, helped me out a lot!
12th Oct 2019, 8:07 PM
syndicate.fs
syndicate.fs - avatar