while True:
    printing("Welcome to The Cheapest Dealer Ship\n", 0.025)
    printing("What car would you like\n")
    printing(
        """
(1) Standard $50
(2) SUV      $60
(3) Minivan  $80
""", 0.025)
    ans = input(">>")
    try:
      int(ans)
    except:
      pass
    
    if ans == 1:
        Total += 50
        Car = "Standard"
        Car_cost = 50
        break
    elif ans == 2:
        Total += 60
        Car = "SUV"
        Car_cost = 60
        break
    elif ans == 3:
        Total += 80
        Car = "Minivan"
        Car_cost = 80
        break
    else:
        printing("Please chose a valid option")
        time.sleep(1)
        replit.clear()
So basically this is a school code excersize but I can't quite figure why it will return with an else statement even if you answer 1,2 or 3. Not sure why int isn't working or what I'm doing wrong.
 
    