From fa3abf0ae2a4cb40621baf3ec16b8d925e86a848 Mon Sep 17 00:00:00 2001 From: ada <> Date: Tue, 8 Nov 2022 16:56:17 +0100 Subject: [PATCH 1/2] rules amount --- script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.py b/script.py index 0d8d6a6..1abe56d 100644 --- a/script.py +++ b/script.py @@ -56,7 +56,7 @@ def quantifier (words): print(" " *10+"How to play " + random.choice(gamenames)) print("~*"*30) #Then it loops through instructions -for i in range(random.randrange(1,275)): +for i in range(random.randrange(1,24)): print(" " *10+"Rule " + str(i+1) + ": "+ random.choice(verbs) + " " + quantifier (objects) + " with " + random.choice(tools)) print(""" From b38bd879d98848a2fba4179dc13506208b2323c3 Mon Sep 17 00:00:00 2001 From: ada <> Date: Tue, 8 Nov 2022 17:05:05 +0100 Subject: [PATCH 2/2] digits --- script.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script.py b/script.py index 1abe56d..3bd32fb 100644 --- a/script.py +++ b/script.py @@ -57,8 +57,8 @@ print(" " *10+"How to play " + random.choice(gamenames)) print("~*"*30) #Then it loops through instructions for i in range(random.randrange(1,24)): - print(" " *10+"Rule " + str(i+1) + ": "+ random.choice(verbs) + " " + quantifier (objects) + " with " + random.choice(tools)) - + print(" " *10+"Rule " + f"{i+1:02}" + ": "+ random.choice(verbs) + " " + quantifier (objects) + " with " + random.choice(tools)) +#f"{a:02}" print(""" wWWWw wWWWw vVVVv (___) wWWWw (___) vVVVv