Python Practice Exercise

62 parts, newest first.

Part 2 · Coding Practice ·

Python Coding Exercise #02: Sorting Names

A beginner Python exercise on lists, the sort() method, and for loops — fix a program so the names of the seven brothers from "Seitsemän veljestä" print in alphabetical order.

Part 1 · Coding Practice ·

Python Coding Exercise #01: Predict the Output

A beginner-friendly Python practice exercise focused on understanding input(), strings, integers, and basic operators. In this exercise, predict the output of a short Python program before running it, then check the answer and understand why Python produces that result.

All series