Lesson 1~42 min6 exercisesContinue here
Theory and practice
if, elif and else - which branch runs and why.
Python · Topic 5 of 20
Work through them in order – each builds on the one before.
Lesson 1~42 min6 exercisesContinue here
if, elif and else - which branch runs and why.
Lesson 2~48 min4 exercises
Decisions in a program: a grade, a calculator, sorting three numbers and a parking fee.
The goal of this topic
Once the lessons are behind you, prove you really know the topic. Three levels – easy, hard and expert.
Mastery test
Questions about programs from the topic Conditions: what they print, what they return and why. You type the answer - no options to pick from.
Three levels. Only 100% unlocks each one.
0 of 3 levels mastered
Basic understanding
20 questions · 100% to master
Advanced understanding
20 questions · 100% to master
Score 100% on Easy Mastery to unlock this level.
Deep understanding
20 questions · 100% to master
Score 100% on Hard Mastery to unlock this level.
The concepts of this topic. Each is practised by the tasks that need it - in other topics and in exam preparation too.