Conditionals

Topic

Conditionals

Topic Progress:

Conditionals are like asking a question where there will be either a yes or a no answer. For example, a conditional could be asking are you touching the colour red right now?

In coding, it is very similar where you can ask the program questions and it will return yes or no. We put these questions inside of statements which can be found in the Control section and is a block with a pointed rectangle shown below

There are 4 main types of these blocks: if, if then else, wait until and repeat until.

The conditions we put in these blocks can be found mainly in the sensing and operations tabs which the next topics will cover.

Course Discussion

@

Not recently active