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

This commit is contained in:
Shashank Nayak 2024-10-25 19:58:33 +05:30 committed by GitHub
parent d3c579d500
commit a2eaba1862
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.