From b38bd879d98848a2fba4179dc13506208b2323c3 Mon Sep 17 00:00:00 2001 From: ada <> Date: Tue, 8 Nov 2022 17:05:05 +0100 Subject: [PATCH] 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