Join 36000+ teachers and students using TTIO.
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