Y8

6h: Use binary selection (if, else statements) to control the flow of program execution

Keywords:
Python
Test your self on these keywords and definitions using the games below or Play random game
KeywordDefinition
elifselection statement which will only run the next indented block if a previous condition has not been met but a different condition is met
elseselection statement which will only run the next indented block if a condition has not been met
ifselection statement which will only run the next indented block if a condition has been met
indented blocklines of code which share the same amount of spaces or tabs at the start
program flowthe order in which lines of code are executed in a program
Keyword games:
Resources: