Sitemap

A list of all the posts and pages found on the site. For you robots out there is an XML version available for digesting as well.

Pages

A flexible two-column Jekyll theme. Perfect for personal sites, blogs, and portfolios hosted on GitHub or your own server. Latest release v4.9.1

Splash Page

Bacon ipsum dolor sit amet salami ham hock ham, hamburger corned beef short ribs kielbasa biltong t-bone drumstick tri-tip tail sirloin pork chop.

Posts

examples

unit00

Course Start Details

First termin: Thursday 24 April 2025 Time: Weekly 14:00 to 16:00 (German time) Place: Room 00A19, Deutschhausstraße 12, Institutsgebäude F 14 Online...

Deliverables

Assignments We distinguish between unmarked and marked deliverables (“Studien- und Prüfungsleistung”). Both are required for passing the course, but only the...

Frequently Asked Questions

This is a continuously updated collection of frequently asked questions. What is the expected workload for this course? This course gives 6 ECTS credit poin...

unit01

Introduction

Setting up Python and auxiliary programs for operating Python and introducing a few tools if you get stuck.

User Interface

Python can be used in various development environments, providing flexibility for different types of users. These interfaces allow programmers to write, test...

Installing Libraries

What are Libraries? In programming, libraries are collections of pre-written code that provide reusable functions, classes, and methods to perform common ta...

Your first exercise in Python

Introduction Welcome to your first Python exercise! In this exercise, you’ll learn how to write your first Python code in a Jupyter notebook using Visual St...

unit02

Introduction

Learn about different levels of measurements and how information is arranged in data types in Python.

unit03

Introduction

Strings are everywhere—from user names and messages to data labels and file names. In this unit, you’ll learn how to work with text effectively, and how to u...

Mathematical Operators

Mathematical operators in Python allow you to perform basic arithmetic operations on numbers. These operations are fundamental in any programming language an...

Comparison Operators

Comparison operators in Python allow you to compare values and determine their relationships. These operators are fundamental in making decisions and control...

Logical Operators

Logical operators in Python are used to combine multiple conditions and perform logical operations. These operators are fundamental for decision-making in yo...

unit04

if Statement

In Python, if statements are used to control the flow of a program by executing certain blocks of code only when specific conditions are met. The basic form ...

if and elif

The elif statement in Python, short for “else if,” allows you to check multiple conditions in sequence. It provides a way to handle more than just two possib...

if, elif and else

The else statement in Python is used to define a block of code that will execute if none of the preceding if or elif conditions are True. The else statement ...

break and continue

Understanding break and continue Statements in Python break Statement The break statement is used to exit a loop prematurely. When a break statement is enco...

try and catch

try and catch (or except in Python) are considered control structures in programming.hey are part of error handling and allow a program to manage exceptions ...

Python Exercise - Solutions

Task 1: Age Verification Solution: # Get user input age = int(input("Enter your age: ")) # Check age if age >= 18: print("You are an adult.") T...

unit05

Introduction

In programming, loops are fundamental constructs that allow you to repeat a block of code multiple times without having to write it out repeatedly. They are ...

For-loops

For-loops are the mother of all repeating structures which enable the execution of certain code blocks for multiple times. For-loops are useful if the number...

Looping Trough Lists and Tuples

For-loops are extremely useful when working with lists and tuples, as they allow you to iterate over each element and perform operations on them. Unlike rang...

While-loops

As for loops, while loops are repeating structures which enable the execution of certain code blocks for multiple times. The difference is that for while loo...

Python Exercise - Loops 1

Introduction This unit covers Python loops, focusing on for loops. You will practice using loops to solve various tasks that involve iterating through range...

Python Exercise - Solution 1

Introduction This unit covers Python loops, focusing on for loops. You will practice using loops to solve various tasks that involve iterating through range...

Python Exercise - Loops 2

Introduction This unit covers how to work with user input and loops in Python. You will practice collecting input from the user, performing operations on li...

Python Exercise - Solution 2

Introduction This unit covers how to work with user input and loops in Python. You will practice collecting input from the user, performing operations on li...

unit06

Introduction

You will learn about different types of data storing in objects.

Python Exercise - Solutions

Introduction This document contains solutions to the tasks related to data structures in Python. Let’s go through each task and its solution step-by-step. ...

unit07

CSV

“Torture the data, and it will confess to anything.” – Ronald Coase

unit08

Introduction

Introduction to Object-Oriented Programming (OOP) in Python Object-Oriented Programming (OOP) is a fundamental programming paradigm based on the concept of ...

unit09

Introduction

Introduction to Object-Oriented Programming (OOP) in Python Object-Oriented Programming (OOP) is a fundamental programming paradigm based on the concept of ...

Creating graphs

“No design works unless it embodies ideas that are held common by the people for whom the object is intended.” - Adrian Forty

unit10

Final Summary & Homework

Welcome to the final unit of this course! In this unit, you will find a complete overview of all exercises from Units. Use this summary to check which parts...

unit99

Spotlights on Base Python

Overview and the Very Basis Base Python is the foundational aspect of the Python programming language, encompassing its syntax, semantics, and basic features...