What a way to bring up my "deeply nested-for loops with an if statement in the center nightmare" 🫄

i needed a printout every so often, but i didn't want to print millions of times

```

if iteration % record_every == 0:

record_array.push(fit)

```

Without if statements, its just two for loops.

```

for j in record_every:

iterate(dt)

record_array.push(fit)

```

gm ser 🄲🫔

Reply to this note

Please Login to reply.

Discussion

Good Morning Lim!