MAX_LINES = 3
def user_deposit():
    while True:
        deposit_amount = input("what is your deposit amount? ")
        if deposit_amount.isdigit():
            deposit_amount = int(deposit_amount)
            if deposit_amount > 0:
                break
            else:
                print("enter a valid amount please.")
        else:
            print("please enter a number.")
    return deposit_amount
def get_num_of_lines():
    while True:
        lines = input(
            "enter the number of lines to bet on (1-" + str(MAX_LINES) + ").")
        if lines.isdigit():
            lines = int(lines)
            if 1 <= lines <= MAX_LINES:
                break
            else:
                print("enter a valid line number.")
        else:
            print("please enter a line number.")
    return lines
def main():
    balance = user_deposit
    lines = get_num_of_lines
    print(balance, lines)
main()
I am trying to take the user's deposit and take the user's desired line. The whole project is essentially a text-based slot machine. I am a beginner, and I am essentially doing it with a guy from Youtube. I know that the hex value represents where the object is stored in memory.
 
     
     
    