Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3
cycle() infinitely iterates through all members of an iterable . It means after it's done with the first round, it loops back and does it again and again and again... forever.
1st Aug 2016, 7:35 PM
Alireza M
Alireza M - avatar