From 6b4acff8e3a6d011ff9b9a9cbf7aeaf94042e8c0 Mon Sep 17 00:00:00 2001 From: rwxd Date: Mon, 4 Dec 2023 09:32:58 +0100 Subject: [PATCH] fix: update --- Math/Books/konkrete-mathematik-mit-python.md | 18 ------------------ Math/Discrete Math/Sets.md | 2 -- 2 files changed, 20 deletions(-) delete mode 100644 Math/Books/konkrete-mathematik-mit-python.md delete mode 100644 Math/Discrete Math/Sets.md diff --git a/Math/Books/konkrete-mathematik-mit-python.md b/Math/Books/konkrete-mathematik-mit-python.md deleted file mode 100644 index ee960124e..000000000 --- a/Math/Books/konkrete-mathematik-mit-python.md +++ /dev/null @@ -1,18 +0,0 @@ -# Bearbeitung der Aufgaben von `Konkrete Mathematik mit Python` - -## 15 - -```python -def potenz(a: int, b: int) -> int: - p = 1 - while b > 0: - p *= a - b -= 1 - return p - -assert potenz(2, 2) == 4 -assert potenz(3, 3) == 27 -assert potenz(3, 0) == 1 -``` - -## 17 diff --git a/Math/Discrete Math/Sets.md b/Math/Discrete Math/Sets.md deleted file mode 100644 index a265c72ff..000000000 --- a/Math/Discrete Math/Sets.md +++ /dev/null @@ -1,2 +0,0 @@ -# Set-builder notation -The set of all $x$ in $S$ such that $P(x)$ is true -> $\{ x \in S | P(x) \}$