def quantity():
    global amount 
    amount = input('How many tickets are you looking for? ')
    if amount == range(1,7):
        print('You have selected {} tickets '.format(amount))
    elif amount == (0):
        print('You have selected 0 tickets')
    else:
        print('Please choose an amount between 0-6')
I'm trying to create ticket cost calculator to jog my memory but I was stumped on the IF statement for the quantity section because it only prints the ELSE even when IF and ELIF are true.
 
     
     
     
     
     
     
    