From 34fa7f8ca6fead67014e8c2221fd9cdf4a147423 Mon Sep 17 00:00:00 2001 From: razorblade23 <81590614+razorblade23@users.noreply.github.com> Date: Wed, 19 Aug 2026 13:41:55 +0200 Subject: [PATCH] Added Excercise section to some lessons --- .../04-python-foundations/01-output-variable-datatypes.md | 5 +++++ .../04-python-foundations/02-math-stringops-comparisons.md | 3 +++ 2 files changed, 8 insertions(+) diff --git a/curriculum/04-python-foundations/01-output-variable-datatypes.md b/curriculum/04-python-foundations/01-output-variable-datatypes.md index 9aab45a..d794ab4 100644 --- a/curriculum/04-python-foundations/01-output-variable-datatypes.md +++ b/curriculum/04-python-foundations/01-output-variable-datatypes.md @@ -157,6 +157,11 @@ We will learn how to read and deal with errors in later lessons. ::: +## Excercise +Visit our [python-excercise repository](https://github.com/ThePythonLedger/python-exercises) and follow instructions there to *fork* and *clone* your own copy of excercises repository. + +After cloning, try to solve [excercise-1](https://github.com/ThePythonLedger/python-exercises/tree/main/exercises%2Ffoundations%2F01_hello_world) and [excercise-2](https://github.com/ThePythonLedger/python-exercises/tree/main/exercises%2Ffoundations%2F02_datatypes) for better understanding. + ## Assignment {#assignment} Try the following excercise to establish your knowlege. We will build a shop, starting with defining (declaring) diffrent variables in this lesson and progress with our little shop as we go further along. diff --git a/curriculum/04-python-foundations/02-math-stringops-comparisons.md b/curriculum/04-python-foundations/02-math-stringops-comparisons.md index 0c825ff..5564b2a 100644 --- a/curriculum/04-python-foundations/02-math-stringops-comparisons.md +++ b/curriculum/04-python-foundations/02-math-stringops-comparisons.md @@ -211,6 +211,9 @@ print((6 < 7) or (8 > 4)) # True print(not True) # False ``` +## Excercise +Try to solve [excercise-3](https://github.com/ThePythonLedger/python-exercises/tree/main/exercises%2Ffoundations%2F03_math_and_comparisons) for better understanding. + ## Assignment In the last assignment we have declared our shop variables and printed the inventory. In this one you are tasked with: 1. Open your code editor in your last project directory `simple-python-shop`