Course Series

Python Basics

Learn Python variables, data types, operators, loops, functions, lists, and OOP.

Language: Python 3.2 (SE) Components: 7 For teachers, this results in a structured introduction with transparent competence development and clearly divided building blocks. The modules can be used individually according to the learning group and time budget, while the sequence also enables a comprehensible overall composition with clear learning objectives.
Includes teaching materials: PowerPoint slides and instructor handouts
Preview Image: Python Basics

Educational Concept

The course series is designed as a step-by-step introduction to central Python programming basics: from variables and data types through control structures to lists and object-oriented programming. The progression follows a clear logical structure: Initially, input, output, and type conversion are secured, followed by decisions and repetitions as control mechanisms introduced and applied in task formats. Building on this, functions are established for structuring programs, before lists as data structures and finally classes, methods, and inheritance as OOP building blocks are added. In all modules, the connection between concept clarification and implementation in executable code is supported through short exercises, typical error situations, and systematic debugging.

For teachers, this results in a structured introduction with transparent competence development and clearly divided building blocks. The modules can be used individually according to the learning group and time budget, while the sequence also enables a comprehensible overall composition with clear learning objectives.

Competence Development

Structure of the series

Foundations of Python Programming

Learn variables, data types, type conversion in Python.

This module establishes the subject basis of the series by systematically introducing input and output, data types, and type conversions. Operators, output formatting, as well as handling typical error situations and debugging establish a reliable working method early on. This creates a stable foundation for the subsequent modules on decisions, loops, and further program structure.

Time: 140 minutes 🧩 7 Lerneinheiten

Conditional Statements

Learn Programming with if Statements.

Based on secure data type and operator work, comparison expressions and logical conjunctions (OR/AND) are gradually developed into complete decision structures. Nested conditions, string checks, and the combination of if with try/except expand input checking towards robust program design. This prepares the central control idea that will be picked up again in loops and later application tasks.

Time: 145 minutes 🧩 10 Lerneinheiten

Loops and Control Structures

Implement Python Loops and Tasks.

This module extends decision logic with repetition as the central control structure and introduces for- and while-loops in typical exercise formats. Iterative procedures (e.g., factorial calculation), access controls, and input validation combine concept knowledge with application-oriented implementation. With break/continue, the control of processes is refined and used as preparation for more structured programs.

Time: 90 minutes 🧩 6 Lerneinheiten

Working with Functions

Learn Python Functions with Parameters & Return Values.

After control structures are established, structured decomposition of programs into subtasks takes center stage. Parameters, return values, default values, and function chains promote clean task distribution (e.g., with main() as a flow controller). Controlled handling of None supports robust result checking and creates connectivity for data- and object-oriented concepts in the following modules.

110 minutes 🧩 6 Lerneinheiten

Arrays

Learn Python lists and array manipulation.

This module introduces lists as the central data structure and consistently connects them with loops, conditions, and functions. Tasks for recording, searching, and evaluating (e.g., counting, calculating averages, min/max, sums) strengthen the transfer between model (list as a collection of data) and implementation. With two-dimensional lists and nested loops, more complex structures are prepared that can be used in OOP- and administration tasks afterwards.

265 minutes 🧩 14 Lerneinheiten

Introduction to OOP

Learn object-oriented programming.

Building on functions and lists, the modeling with classes, attributes, and methods is introduced and deepened fachlich through encapsulation (getters/setters). Project-oriented units (e.g., account-, book- or administration models) support the transition from individual constructs to cohesive program structures. Inheritance and calling parent methods expand the repertoire with reuse and override, making complex domain models systematically accessible.

⏱️ 250 min 🧩 10 Lerneinheiten
Preview: Programming Flows

Programming Flows

Managing Students/Staff and Sorting Algorithms.

This final module consolidates previously built competencies in algorithmically driven task assignments. With Bubblesort and Quicksort (recursive function calls), flows are precisely structured and broken down into traceable steps, while the management task combines working with data structures and evaluations. This results in a clear progression from basics to structured problem-solving and systematic implementation.

75 minutes 🧩 3 Lerneinheiten

For private clients, there is also a corresponding course offer for Python Basics and object-oriented programming available. Course offer for Python Basics and object-oriented programming .

Check the modules in your lesson plan and test the progression with a free registration including a trial period. Try now for free

Contents at a glance

Python Programming Basics

ContentFocusDuration
Introduction to Variables and Data TypesIntroduction to Variables and Data Types; using input() and converting inputs; exercise program for arithmetic operations.15 min
Type Conversion with Console OutputType conversion of user inputs with int(); output simple calculations.15 min
Data Type Recognition and ConversionExplain type(), str(), float(), bool(); recognize and convert input types.25 minutes
Basic Operators in PythonArithmetic operators +, -, *, /, //, %; examples and exercises on division and remainder.25 minutes
Output Formatting and Text ConcatenationText and number concatenation with comma, +, and f-Strings; understand differences and apply.25 minutes
Error Situations for InputsUnderstand ValueError for incorrect inputs; read and analyze errors.20 minutes
Introduction to Debugging TechniquesDebugging: find and fix typical programming errors (e.g. division by zero).15 minutes

Conditional Statements

ContentFocusDuration
Introduction to Logical ExpressionsLogical expressions with comparisons (greater than or equal, less than or equal).10 min
Checking for Equal or Not EqualExpressions to check for equality or inequality.5 min
Logical Expressions with "OR" CombineOR-connections to combine multiple conditions (at least one fulfilled).10 min
Using if Statements for Age Checksif/else and comparison operators based on age checks with user input.15 minutes
Decision logic with if, elif, and elseIf/elif/else for decision logic; example with temperature input and weather description.15 minutes
Logical AND-connection (and)And-operator for combined conditions; age and ticket check; access control.15 minutes
Nested if-conditionsNested if-structures and dependencies; example rain and jacket; action recommendation.20 minutes
Texts and string checkingString comparison; normalization with .lower() and .strip(); password check and feedback.20 minutes
Error handling with if and tryIf with try/except for input checking; number validation and error messages.20 min
Truth values and empty variablesTruthy/falsy; checking empty strings/variables; input check by if-statement.15 min

Loops and control structures

ContentFocusDuration
Understanding loops: for and whileBasic structure of for/while; examples; loops for repetitive tasks; code adaptation.10 min
Iterations with loops: factorial calculationFactorial iteratively calculated in the main program; multiply step by step.15 min
Access control with passwordPassword verification with if and loops; optionally consider case sensitivity.10 minutes
Input validation with while loopRepeated input checking with while until a valid value is present.20 minutes
Loop control with break and continuebreak/continue for control; Modulo (%) for divisibility check; flow control.20 minutes
Grading system with scoreGrade calculation with if/elif/else; optionally output comments per grade.15 minutes

Working with functions

ContentFocusDuration
Brief introduction to functionsSimple function call with output.10 minutes
Introduction to functions with return valuesPassing and returning values; if-queries; Modulo operator for parity check.15 min
Functions: parameters and return values in PythonFunctions with parameters and return values; exercise: calculate the area of a rectangle.15 min
Multiple parameters and default valuesMultiple parameters; default values; flexible calls with and without additional parameters.20 min
Functions that call other functionsTask separation into sub-functions; function calls; main() for flow control.25 min
Check return values and handle NoneNone as "no result"; Check with is None; Safe error handling without interruption.25 minutes

Arrays

ContentFocusDuration
What are Arrays?Introduction to Arrays.10 min -> @@ITEM_0001@@10 minutes
Adding elements to an ArrayIntroduction to push().10 minutes
Removing elements from an ArrayIntroduction to pop(), shift() and splice().15 minutes
Simple shopping list with Lists in PythonCreate a list; Add/Remove elements; Functions for interactive actions.15 min
Counting favorite subjects in a ListRecurring values count with for- and if-statements; Output with print().15 min
Searching names in a ListName search by loop and if; .lower() for case sensitivity.20 min
Grading notes with LoopEvaluating lists; Counting with loop and if; Average with sum() and len().20 min
Weekly temperature measurementRecording temperatures; Evaluation with max(), min(), sum(); hottest day determination.25 min
Calculating shopping costsSaving inputs; sum(), len() and if for price calculation and warning.25 minutes
Calorie Calculator with EvaluationCollect calorie values; form a sum; evaluate using if-statement.25 minutes
Seat row output with listsIterate through two-dimensional list; output rows; add name search.25 minutes
Height comparison in sports classFind largest/smallest number using loop and comparison; calculate difference.25 minutes
Calculate average, best, worst, and median noteProcess inputs; calculate average, best/worst, and median note.15 minutes
Alphabet analysis with listsConvert input to alphabet list; count; determine length.20 minutes

Introduction to OOP

ContentFocusDuration
Einführung in "Objektorientierte Programmierung"Classes for reusable structures; properties and methods for objects.15 minutes
Classes with own methodsMethods within class definition; call using instantiated objects.15 minutes
Getter- and Setter-methodsGetters/setters; private/public variables; access control and encapsulation.30 minutes
Student class with average gradeExtend class; grades list; average method; output with average.30 minutes
Bank account with deposits and withdrawalsPrivate variables; check for deposit/withdrawal; getter for account balance; secure data modification.35 minutes
Managing library booksPrivate attributes; lend/borrow/status; boolean status management.30 minutes
Introduction to inheritanceInheritance and overriding in child classes (extends).10 min -> @@ITEM_0001@@10 minutes
Calling parent methodsCalling parent methods in inherited classes with super().15 min -> @@ITEM_0001@@15 minutes
Vehicle fleet with inheritancePracticing inheritance; overriding methods; using super().35 min
School administration with classesClasses student and school class; lists, loops, and average calculation.35 min

Programming workflows

ContentFocusDuration
BubblesortSorting arrays with Bubblesort by completing an existing basic code.30 min
Quicksort with recursionSorting arrays with Quicksort by recursive function call.30 min
Managing students and gradesProgramming a simple student management system that flexibly manages subjects and grades.15 min
This series systematically develops Python basic skills from data types and control structures to lists, OOP, and algorithmic processes in CodeRoom.

For teaching, a clearly structured sequence of modules results with a comprehensible progression and transparent competence development. The building blocks can be combined and adapted in time according to the learning group.

To get an insight into structure and materials, a demo access can be used to test the series in your own teaching context. This allows you to pragmatically check the fit with your existing curriculum planning.