From 73e1d8e7b5571b9b5a3916203f6cd12a838e348c Mon Sep 17 00:00:00 2001 From: Abhay Chauhan <79973672+thoughtlessnerd@users.noreply.github.com> Date: Thu, 1 Feb 2024 20:56:35 +0530 Subject: [PATCH] Delete archit/guess_number_nolint.py --- archit/guess_number_nolint.py | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 archit/guess_number_nolint.py diff --git a/archit/guess_number_nolint.py b/archit/guess_number_nolint.py deleted file mode 100644 index 8459fb5..0000000 --- a/archit/guess_number_nolint.py +++ /dev/null @@ -1,25 +0,0 @@ -import random - -guesses_made = 0 -name = input("Hello! What is your name?\n") - -number = random.randint(1, 20) -print(f"Well, {name}, I am thinking of a number between 1 and 20.") - -while guesses_made < 6: - guess = int(input("Take a guess: ")) - guesses_made += 1 - - if guess < number: - print("Your guess is too low.") - - if guess > number: - print("Your guess is too high.") - - if guess == number: - break - -if guess == number: - print(f"Good job, {name}! You guessed my number in {guesses_made} guesses! But this line is way too long!") -else: - print(f"Nope. The number I was thinking of was {number}") \ No newline at end of file