import random


def prompt():
    gen_random_number = random.randint(1,15)
    user_guess = int(input("Guess the right number: "))
    if user_guess == gen_random_number:
        print("You got it!")
    else:
        while user_guess != gen_random_number:
                print("Try again")
                if user_guess > gen_random_number:
                    print("Guess Lower")
                elif user_guess < gen_random_number:
                    print("Guess Higher")
                user_guess = int(input("Guess the right number:  "))
                if user_guess == gen_random_number:
                    print("You got it!")




prompt()


c83a70e7fe6e7ba11d259c2814aa5d9e645c7f40
<mask token>

<mask token>


def prompt():
    gen_random_number = random.randint(1, 15)
    user_guess = int(input('Guess the right number: '))
    if user_guess == gen_random_number:
        print('You got it!')
    else:
        while user_guess != gen_random_number:
            print('Try again')
            if user_guess > gen_random_number:
                print('Guess Lower')
            elif user_guess < gen_random_number:
                print('Guess Higher')
            user_guess = int(input('Guess the right number:  '))
            if user_guess == gen_random_number:
                print('You got it!')


<mask token>

<mask token>


def prompt():
    gen_random_number = random.randint(1, 15)
    user_guess = int(input('Guess the right number: '))
    if user_guess == gen_random_number:
        print('You got it!')
    else:
        while user_guess != gen_random_number:
            print('Try again')
            if user_guess > gen_random_number:
                print('Guess Lower')
            elif user_guess < gen_random_number:
                print('Guess Higher')
            user_guess = int(input('Guess the right number:  '))
            if user_guess == gen_random_number:
                print('You got it!')


prompt()

import random


def prompt():
    gen_random_number = random.randint(1, 15)
    user_guess = int(input('Guess the right number: '))
    if user_guess == gen_random_number:
        print('You got it!')
    else:
        while user_guess != gen_random_number:
            print('Try again')
            if user_guess > gen_random_number:
                print('Guess Lower')
            elif user_guess < gen_random_number:
                print('Guess Higher')
            user_guess = int(input('Guess the right number:  '))
            if user_guess == gen_random_number:
                print('You got it!')


prompt()

import random


def prompt():
    gen_random_number = random.randint(1,15)
    user_guess = int(input("Guess the right number: "))
    if user_guess == gen_random_number:
        print("You got it!")
    else:
        while user_guess != gen_random_number:
                print("Try again")
                if user_guess > gen_random_number:
                    print("Guess Lower")
                elif user_guess < gen_random_number:
                    print("Guess Higher")
                user_guess = int(input("Guess the right number:  "))
                if user_guess == gen_random_number:
                    print("You got it!")




prompt()

