# Write a Python program to guess a number between 1 to 9. Go to the editor
# Note : User is prompted to enter a guess. If the user guesses wrong 
# then the prompt appears again until the guess is correct, on successful 
# guess, user will get a "Well guessed!" message, and the program will exit.

import random
target_num, guess_num = random.randint(1, 10), 0
while target_num != guess_num:
    guess_num = int(input('Guess a number between 1 and 10 until you get it right : '))
print('Well guessed!')



08362a70b5b525dcdf4692962c9f2379ec969441
<mask token>

<mask token>
while target_num != guess_num:
    guess_num = int(input(
        'Guess a number between 1 and 10 until you get it right : '))
print('Well guessed!')

<mask token>
target_num, guess_num = random.randint(1, 10), 0
while target_num != guess_num:
    guess_num = int(input(
        'Guess a number between 1 and 10 until you get it right : '))
print('Well guessed!')

import random
target_num, guess_num = random.randint(1, 10), 0
while target_num != guess_num:
    guess_num = int(input(
        'Guess a number between 1 and 10 until you get it right : '))
print('Well guessed!')

# Write a Python program to guess a number between 1 to 9. Go to the editor
# Note : User is prompted to enter a guess. If the user guesses wrong 
# then the prompt appears again until the guess is correct, on successful 
# guess, user will get a "Well guessed!" message, and the program will exit.

import random
target_num, guess_num = random.randint(1, 10), 0
while target_num != guess_num:
    guess_num = int(input('Guess a number between 1 and 10 until you get it right : '))
print('Well guessed!')


