Coding
2025
Tic Tac Toe
·398 words·2 mins
Alstergymnasium Python turtle pygame 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.
Spirograph
·264 words·2 mins
Alstergymnasium Python turtle 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
Alstergymnasium Python turtle The turtle wants to race. Our program uses functions (def) and keyboard input (turtle.onkey()).
St. Nicholas' House v2
·508 words·3 mins
Alstergymnasium Python turtle 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
Alstergymnasium Python turtle 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
Alstergymnasium Python 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
Alstergymnasium Python 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
Alstergymnasium Python 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
Alstergymnasium Python 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
Alstergymnasium Python turtle 🐢 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
Alstergymnasium Python Here’s a list of useful links around Python and Visual Studio Code (VSCode):
Python Keywords with Examples
·299 words·2 mins
Alstergymnasium Python 🐍 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
Alstergymnasium Python 🧠 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
Alstergymnasium Python 📦 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
Alstergymnasium Python 🧠 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!
Naming Conventions in Python
·385 words·2 mins
Alstergymnasium Python 🐍 The naming conventions in Python are defined in the official PEP 8 Style Guide. They ensure uniform, readable, and maintainable code. Here’s a comprehensive overview:
Comments in Python
·386 words·2 mins
Alstergymnasium Python 🧠 Here’s a complete cheat sheet on comments, documentation, and code style in Python – ideal for beginners, students, and advanced users. It shows how to use comments correctly, how to document code, and how to write readable, clean Python code.