school/mathematik/kombination_aller_grundrechenarten.py

9 lines
202 B
Python

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}");