import random



def main():
    number = random.randint(1, 5)
    answer = int(input("Type in a number: "))
    if answer == number:
        print("Well done")
    else:
        if answer > number:
            print("Too high")
        else:
            print("Too low")  
    answer2 = int(input("Try with another number. ")) 

    if answer2 == number:
        print("well done")
    else:
        print("You lose")

    print(f"The number is {number}.")



if __name__ == '__main__':
    main()
d731d415cc21db260a01d982fc7a9d93159c52c9
<mask token>

<mask token>


def main():
    number = random.randint(1, 5)
    answer = int(input('Type in a number: '))
    if answer == number:
        print('Well done')
    elif answer > number:
        print('Too high')
    else:
        print('Too low')
    answer2 = int(input('Try with another number. '))
    if answer2 == number:
        print('well done')
    else:
        print('You lose')
    print(f'The number is {number}.')


<mask token>

<mask token>


def main():
    number = random.randint(1, 5)
    answer = int(input('Type in a number: '))
    if answer == number:
        print('Well done')
    elif answer > number:
        print('Too high')
    else:
        print('Too low')
    answer2 = int(input('Try with another number. '))
    if answer2 == number:
        print('well done')
    else:
        print('You lose')
    print(f'The number is {number}.')


if __name__ == '__main__':
    main()

import random


def main():
    number = random.randint(1, 5)
    answer = int(input('Type in a number: '))
    if answer == number:
        print('Well done')
    elif answer > number:
        print('Too high')
    else:
        print('Too low')
    answer2 = int(input('Try with another number. '))
    if answer2 == number:
        print('well done')
    else:
        print('You lose')
    print(f'The number is {number}.')


if __name__ == '__main__':
    main()

import random



def main():
    number = random.randint(1, 5)
    answer = int(input("Type in a number: "))
    if answer == number:
        print("Well done")
    else:
        if answer > number:
            print("Too high")
        else:
            print("Too low")  
    answer2 = int(input("Try with another number. ")) 

    if answer2 == number:
        print("well done")
    else:
        print("You lose")

    print(f"The number is {number}.")



if __name__ == '__main__':
    main()