From 8d6c350cfd285863a9eb81282d66945744678397 Mon Sep 17 00:00:00 2001 From: "Aviv N." Date: Thu, 18 Jun 2026 19:21:33 +0300 Subject: [PATCH] fix: change the number of tries from 10 to 5 --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index a7ac7ec..60b394e 100644 --- a/main.py +++ b/main.py @@ -2,7 +2,7 @@ number = random.randint(1, 10) -for attempt in range(10): +for attempt in range(5): guessed_num = int(input("Try to guess the number:")) if guessed_num == number: print("You WIN")