Cyclic for loop | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

Cyclic for loop

I have an array of 225 values. i want to start looping from center(eg - index = 10) and append every 9 th value from the starting index till when selected index is not repeated.

18th Apr 2017, 6:32 AM
Tapish kanodia
Tapish kanodia - avatar
1 Antwort
+ 2
Hi, I wrote a simple brute force code for you... Feel free to use it :-):-) https://code.sololearn.com/cTQYNIhj8mIC/?ref=app
19th Apr 2017, 4:38 PM
matan