fix(curriculum): remove semicolon from iteration example (#56846)

This commit is contained in:
Shashank Nayak
2024-10-25 14:28:33 +00:00
committed by GitHub
parent d3c579d500
commit a2eaba1862
@@ -9,7 +9,7 @@ dashedName: step-36
Your <dfn>iteration</dfn> statement will tell your loop what to do with the iterator after each run.
When you reassign a variable, you can use the variable to reference the previous value before the reassignment. This allows you to do things like add three to an existing number. For example, `bees = bees + 3;` would increase the value of `bees` by three.
When you reassign a variable, you can use the variable to reference the previous value before the reassignment. This allows you to do things like add three to an existing number. For example, `bees = bees + 3` would increase the value of `bees` by three.
Use that syntax to replace your `"iteration"` string with a reassignment statement that increases `i` by one.