Skip to content

Instantly share code, notes, and snippets.

View patodeveloper00's full-sized avatar

patodeveloper00

  • Joined Sep 18, 2025
View GitHub Profile
import random
print("Welcome to the Number Guessing Game")
#pick a random Number between 1 and 20
secret_number=random.randint(1,20)
for attempt in range(5):
guess=int(input("Enter your guess(11-20):"))