Lesson 1~42 min6 exercisesContinue here
Theory and practice
import, the math and random modules and splitting a program into functions.
Python · Topic 16 of 20
This topic builds on:
In the recommended order, “Exceptions” comes before this topic. Exceptions
Work through them in order – each builds on the one before.
Lesson 1~42 min6 exercisesContinue here
import, the math and random modules and splitting a program into functions.
Lesson 2~48 min4 exercises
The math and random modules, your own module and a program split into functions.
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 Modular programs: 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.