everything we were supposed to do at school redid at home and uploaded to git

This commit is contained in:
zyqunix 2025-03-20 20:27:56 +01:00
parent 78bbec925b
commit 6b90ee49d0
9 changed files with 77 additions and 0 deletions

View file

@ -0,0 +1,11 @@
a = 20;
b = 5;
c = 3;
print(f"a: {a} \nb: {b} \nc: {c}\n");
print(f"Addition: {a + b + c}");
print(f"Subtraktion: {b + c - a}");
print(f"Multiplikation: {a * b * c}");
print(f"Division: {a / (b + c)}");
print(f"Modulo: {a % c}");
print(f"Potenzierung: {a ** c}");

View file

@ -0,0 +1,9 @@
a = 20;
b = 4;
print(f"Addition: {a + b}");
print(f"Subtraktion: {a - b}");
print(f"Multiplikation: {a * b}");
print(f"Division: {a / b}");
print(f"Modulo: {a % b}");
print(f"Potenzierung: {a ** b}");