Lesson 1High school~150 min16 exercisesContinue here
Strings
Tasks with text and first complete programs: a digit sum, a cipher, palindromes, a birth number, BMI and a quadratic equation.
Python · Topic 20 of 20
Practice tasks before the informatics graduation exam: strings, lists, the while loop, mixed tasks, tkinter graphics and exceptions.
This topic builds on:
In the recommended order, “Algorithmic problems” comes before this topic. Algorithmic problems
Work through them in order – each builds on the one before.
Lesson 1High school~150 min16 exercisesContinue here
Tasks with text and first complete programs: a digit sum, a cipher, palindromes, a birth number, BMI and a quadratic equation.
Lesson 2High school~150 min15 exercises
Lists of numbers and names: generating random values, sorting, filtering, finding the maximum and reading until an end marker.
Lesson 3High school~90 min9 exercises
A loop that runs while a condition holds: counting down, skipping numbers, reading repeatedly until an end value, and handling bad input.
Lesson 4High school~120 min9 exercises
Tasks where loops, lists, functions and chance meet: a lottery, primes, perfect numbers, test scores and train passengers.
Lesson 5High school~150 min8 exercises
Drawing on a canvas, mouse clicks, buttons, text fields and timer animations. The programs run in a tkinter simulation right in the browser, so you see the result immediately.
Lesson 6High school~60 min6 exercises
A program that does not crash on bad input: asking again for a number, division by zero and several `except` branches.
The concepts of this topic. Each is practised by the tasks that need it - in other topics and in exam preparation too.