Neu organisiert für neues Schuljahr

This commit is contained in:
Janik
2021-09-21 11:35:05 +02:00
parent b4f3fc83d2
commit 255b72506c
46 changed files with 11 additions and 0 deletions

11
12fi5/AEuP/product.py Normal file
View File

@ -0,0 +1,11 @@
def multiply(mpa, mpc):
product = 0
i = 0
while i < abs(mpa):
if mpa >= 0:
product += mpc
else:
product -= mpc
i += 1
return product