generator squares

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

0
1
4
9
16

Expected output

0
1
4
9
16

Flows

subflow ~squares click a branch to expand · @labels scroll to their anchor
for (0..n)
flow ~squares click a branch to expand · @labels scroll to their anchor
squares (n: 5)

Test Configuration

MUST_RUN