Preview lessons, content and tests

Computer Science & Programming solved. All in one platform.

1. To trial the platform and take tests, please take a few seconds to SIGN UP and SET UP FREE.
2. Searching for something specific? See our text overview of all tests. Includes 'real teacher' use videos.

Using IF statements

We use the word "if" all the time. If I'm hungry, then I'll ask Mum for some dinner! We can use the if statement in programming and in scratch as well.

 The if () then block is a control block and a C block. If its boolean condition is true, the blocks held inside it will run, and then the script involved will continue. If the condition is false, the scripts inside the block will be ignored.

PowerPoint

Suggested Video

www.teachyourselfpython.com