From febedf57cbce8e81a91d69f897d588f948083543 Mon Sep 17 00:00:00 2001 From: Arne Baeumler Date: Tue, 1 Jun 2021 12:19:18 +0200 Subject: [PATCH] kommutativgesetz --- app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app.py b/app.py index 220763f..c6e13ee 100644 --- a/app.py +++ b/app.py @@ -17,6 +17,7 @@ def index(): for r in request.form.getlist('rechenreihen'): for i in range(1,11): alle.append({str(r)+"x"+str(i): int(r)*int(i) }) + alle.append({str(i)+"x"+str(r): int(r)*int(i) }) while len(alle): zufall.append(alle.pop(random.randint(0,len(alle)-1)))