Skip to content

Commit a1b093c

Browse files
Built site for gh-pages
1 parent 9d32d5d commit a1b093c

File tree

375 files changed

+9954
-15781
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

375 files changed

+9954
-15781
lines changed

.gitignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

.nojekyll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0f53feb0

docs/404.html renamed to 404.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>
33

44
<meta charset="utf-8">
5-
<meta name="generator" content="quarto-1.5.57">
5+
<meta name="generator" content="quarto-1.6.30">
66

77
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
88

@@ -35,10 +35,10 @@
3535
<script src="/Introduction-to-Python/site_libs/quarto-html/tippy.umd.min.js"></script>
3636
<script src="/Introduction-to-Python/site_libs/quarto-html/anchor.min.js"></script>
3737
<link href="/Introduction-to-Python/site_libs/quarto-html/tippy.css" rel="stylesheet">
38-
<link href="/Introduction-to-Python/site_libs/quarto-html/quarto-syntax-highlighting.css" rel="stylesheet" id="quarto-text-highlighting-styles">
38+
<link href="/Introduction-to-Python/site_libs/quarto-html/quarto-syntax-highlighting-3a01e2046221230fdceeea94b1ec5d67.css" rel="stylesheet" id="quarto-text-highlighting-styles">
3939
<script src="/Introduction-to-Python/site_libs/bootstrap/bootstrap.min.js"></script>
4040
<link href="/Introduction-to-Python/site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
41-
<link href="/Introduction-to-Python/site_libs/bootstrap/bootstrap.min.css" rel="stylesheet" id="quarto-bootstrap" data-mode="light">
41+
<link href="/Introduction-to-Python/site_libs/bootstrap/bootstrap-acf96f15c49df96c2987355952e1b59f.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light">
4242
<script id="quarto-search-options" type="application/json">{
4343
"location": "sidebar",
4444
"copy-button": false,
@@ -68,7 +68,6 @@
6868
}</script>
6969

7070

71-
<link rel="stylesheet" href="/Introduction-to-Python/styles.css">
7271
</head>
7372

7473
<body class="nav-sidebar floating">

404.pdf

6.52 KB
Binary file not shown.

404.qmd

Lines changed: 0 additions & 7 deletions
This file was deleted.

LICENSE

Lines changed: 0 additions & 429 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

_quarto.yml

Lines changed: 0 additions & 115 deletions
This file was deleted.
Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>
33

44
<meta charset="utf-8">
5-
<meta name="generator" content="quarto-1.5.57">
5+
<meta name="generator" content="quarto-1.6.30">
66

77
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
88

@@ -69,10 +69,10 @@
6969
<script src="../site_libs/quarto-html/tippy.umd.min.js"></script>
7070
<script src="../site_libs/quarto-html/anchor.min.js"></script>
7171
<link href="../site_libs/quarto-html/tippy.css" rel="stylesheet">
72-
<link href="../site_libs/quarto-html/quarto-syntax-highlighting.css" rel="stylesheet" id="quarto-text-highlighting-styles">
72+
<link href="../site_libs/quarto-html/quarto-syntax-highlighting-3a01e2046221230fdceeea94b1ec5d67.css" rel="stylesheet" id="quarto-text-highlighting-styles">
7373
<script src="../site_libs/bootstrap/bootstrap.min.js"></script>
7474
<link href="../site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
75-
<link href="../site_libs/bootstrap/bootstrap.min.css" rel="stylesheet" id="quarto-bootstrap" data-mode="light">
75+
<link href="../site_libs/bootstrap/bootstrap-acf96f15c49df96c2987355952e1b59f.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light">
7676
<script id="quarto-search-options" type="application/json">{
7777
"location": "sidebar",
7878
"copy-button": false,
@@ -102,7 +102,6 @@
102102
}</script>
103103

104104

105-
<link rel="stylesheet" href="../styles.css">
106105
</head>
107106

108107
<body class="nav-sidebar floating">
@@ -425,7 +424,7 @@ <h1>Introduction</h1>
425424
<section id="tax-refund-for-donations" class="level1">
426425
<h1>Tax refund for donations</h1>
427426
<p>In this excercise, you will create a program that is able to calculate the amount of tax a person can get back for a donation. First, research the rules for tax refunds for donations in Germany. Then, create a program that is able to <strong>calculate the amount of tax a person can get back</strong> for a donation. The program should ask the user for the <strong>amount of the donation and the yearly income</strong> and then calculate the amount of tax the user can get back. The program should then print the amount of tax to the console. Note, that the program should also handle wrong inputs from the user, e.g.&nbsp;if the user enters a negative donation amount or a non-numeric income.</p>
428-
<div id="01bd8e6e" class="cell" data-execution_count="2">
427+
<div id="b18adc0f" class="cell" data-execution_count="1">
429428
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="co"># Tax refund for donations</span></span>
430429
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a><span class="co"># </span><span class="al">TODO</span><span class="co">: Create a program that is able to calculate the amount of tax a person can get back for a donation.</span></span>
431430
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a><span class="co"># Your code here</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
@@ -447,7 +446,7 @@ <h1>Tax refund for donations</h1>
447446
<section id="text-based-adventure-game" class="level1">
448447
<h1>Text based adventure game</h1>
449448
<p>In this excercise, you will create a text based adventure game. You are completely free in the choice of the story, but it must <strong>at least include 3 choices, 2 different endings and the choice to restart the game</strong>. Try to use the concepts of conditionals, loops, and functions to create a game that is both fun and interactive for the user. Note, that the program should also handle wrong inputs from the user, e.g.&nbsp;if the user enters a choice that is not available.</p>
450-
<div id="c4b9c3b4" class="cell" data-execution_count="3">
449+
<div id="c578e32e" class="cell" data-execution_count="2">
451450
<div class="sourceCode cell-code" id="cb2"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="co"># Test based adventure game</span></span>
452451
<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a><span class="co"># </span><span class="al">TODO</span><span class="co">: Create a text based adventure game with at least 3 choices, 2 different endings and the choice to restart the game.</span></span>
453452
<span id="cb2-3"><a href="#cb2-3" aria-hidden="true" tabindex="-1"></a><span class="co"># Your code here</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
@@ -456,7 +455,7 @@ <h1>Text based adventure game</h1>
456455
<section id="hangman" class="level1">
457456
<h1>Hangman</h1>
458457
<p>In this excercise, you will create a program that is able to play the game Hangman. The program should ask the <strong>game master for a secret word</strong>. Afterward, it should ask the player to guess a letter and then check if the letter is in the word. The program should then print the word with the guessed letters and the number of tries left. The program should also handle wrong inputs from the user, e.g.&nbsp;if the user enters a non-letter or a letter that is already guessed.</p>
459-
<div id="f84d2d3c" class="cell" data-execution_count="4">
458+
<div id="7fdb4c70" class="cell" data-execution_count="3">
460459
<div class="sourceCode cell-code" id="cb3"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="co"># Hangman</span></span>
461460
<span id="cb3-2"><a href="#cb3-2" aria-hidden="true" tabindex="-1"></a><span class="co"># </span><span class="al">TODO</span><span class="co">: Create a program that is able to play the game Hangman with a game master and one player.</span></span>
462461
<span id="cb3-3"><a href="#cb3-3" aria-hidden="true" tabindex="-1"></a><span class="co"># Your code here</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>

0 commit comments

Comments
 (0)