Why Nostr? What is Njump?
2024-07-08 19:06:41

liminal 🦠 on Nostr: What a way to bring up my "deeply nested-for loops with an if statement in the center ...

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 🥲🫡
Author Public Key
npub1m3xdppkd0njmrqe2ma8a6ys39zvgp5k8u22mev8xsnqp4nh80srqhqa5sf