You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
print("Welcome to my game, muggle!\nEnter an integer number and guess what number I've picked for you!\nI'll give you a hint: it's an integer number from 0 to 10.")
user_number = int(input("Enter an integer 1-10"))
while user_number != secret_number:
print ("No, that's not the number. Try again")
user_number = int(input("Enter an integer 1-10"))
print ("Think carefully")
print (secret_number, "Well done! That's the number")