News

This post explains how to use if statements in Python. This will form the backbone of much of your code going forward! Else statements, nesting, + more.
Quick LinksSet Up Your Development EnvironmentWrite Your First Python ProgramWrite Comments in Your CodeStore Data in ...
SALONI: Now let's see how we can use an 'if/else' statement with our buddy Scrat. On-screen graphic shows a programming block in Blockly with three segments labelled 'if path ahead', 'do', and 'else'.