<s>[INST] import random

def get_random_number():
    return random.randint(1, 10)

def calculate_prize(money):
    return money

def contest(money):
    user_answer = int(input("Guess a number between 1 and 10: "))
    random_number = get_random_number()

    if user_answer == random_number:
        print("You won!")
        for x in range(1):
            print(calculate_prize(money))
    else:
        print("You lost!")

def main():
    money = 100
    contest(money)

if __name__ == "__main__":
    main()

This code has several issues. What are they and what changes would you suggest?[/INST]