Alstergymnasium
Tic Tac Toe
·398 words·2 mins
Ever since the movie “Wargames,” it’s clear: an AI doesn’t like to lose. And even a draw can be just as frustrating.
Still, a game of Tic Tac Toe can be a lot of fun – here is a version in Python, implemented using Turtle.
Project Week 2025
·758 words·4 mins
In the week of July 21, 2025, I had the pleasure of teaching 17 students of the Alstergymnasium in Henstedt-Ulzburg (Schleswig-Holstein) the basics of programming in Python for 4 days.
Spirograph
·264 words·2 mins
The turtle also works as a spirograph. Using for loops and mixed colors from the RGB spectrum, beautiful patterns and color gradients are created.
Turtle Race
·312 words·2 mins
The turtle wants to race. Our program uses functions (def) and keyboard input (turtle.onkey()).
St. Nicholas' House v2
·508 words·3 mins
With the help of loops (for, while), functions (def) and classes (class), you can really make the turtle work hard.
St. Nicholas' House
·286 words·2 mins
The turtle (from the Tkinter library) allows you to create simple to complex graphics on screen using Python. It is controlled with understandable commands like forward, left, right, etc. Older programmers already know it from Logo (1967), COMAL (1973), etc. - younger programmers know something similar from Scratch (2007) with the so-called “pen”.
Schimpfolino
·912 words·5 mins
The “Schimpfolino” doesn’t just provide laughter. It also demonstrates working with lists (variables) and their random concatenation (using f-strings).
Number Guessing Game
·192 words·1 min
Basically one of the classics, whether it’s a programmable calculator, 8-bit home computer, or as shown here with Python; you have to implement this on every platform at least once.
Perfect for first attempts with conditionals (if-statements).
Harry Potter Quiz
·667 words·4 mins
With the “Harry Potter Quiz” you not only test your knowledge about the legendary wizard, you also become proficient in handling Python tuples (arrays). Even when they are multidimensional.
Calculate Birthday
·154 words·1 min
Everyone wants to learn more about their birthday. With simple calculation and transformation, this is child’s play in Python.
Python Turtle Cheat Sheet
·485 words·3 mins
🐢 Here’s a complete Turtle cheat sheet suitable for both beginners and advanced users – regardless of age. It covers everything: from basic functions through colors, shapes and loops to events, coordinates, animations and complex drawings.
Python Link List
·102 words·1 min
Here’s a list of useful links around Python and Visual Studio Code (VSCode):
Python Keywords with Examples
·299 words·2 mins
🐍 Here’s a complete list of all Python keywords with short, understandable examples for each usage – ideal for students and beginners.
Python Invalid Identifiers
·254 words·2 mins
🧠 In Python, there’s a fixed list of keywords that cannot be used as identifiers (i.e., names for variables, functions, classes, etc.). They are reserved because they have a special meaning in the language core.
Python Functions via Import
·294 words·2 mins
📦 Python has many useful functions and methods that you can access by importing modules. These extend Python’s basic functionality and are especially helpful for mathematics, randomness, time, files, system access and more.
Python Built-in Functions (without Import)
·412 words·2 mins
🧠 Python has a variety of built-in functions (so-called built-in functions) and standard methods that you can use directly without importing anything. They are the toolkit for every Python beginner – and perfect for your students!