Elementary | Middle
Middle | High
AI
Use Cases
Click on one of our programs below to get started coding in the sandbox!
View All
Course:
Module:
Lesson:
A loop is a way to repeat code in your program.
A for loop lets us repeat code a **fixed number of times**.
Lets us repeat code as long as something is true.
A condition is code that you put inside an if statement or while-loop.
An if statement lets you ask a question to the program and only run code if the answer is true.
Control structure that lets us run either one section of code or another depending on a test.
A control structure lets us change the flow of the code.