ERP calculation

print('Before 12.00 \t\t :Free \n12.00<= time<17.30 \t :0.50 \n17.30<= time<17.35 \t :1.00 \n17.35<= time<18.00 \t :1.50 \n18.00<= time<18.55 \t :2.00 \n1.55<= time<19.00 \t :1.50 \n19.00<= time<19.55 \t :0.50 \n20.00 or after \t :Free')  # Modify to display ERP Rate
    if 12.00 > time_of_entry and card_value >= 0 : # Check if there is enough balance to pay ERP charge
        card_value = card_value # Modify to calculate new value in cash card
        print('your new card balance is $', card_value)# Modify to display new value in cash card
        successful_deduction = True
    elif 12.00 <= time_of_entry < 17.30 and card_value >= 0.50:
        card_value = card_value - 0.50
        print('Your new value in cash card is $', card_value)
        successful_deduction = True
    elif 17.30 <= time_of_entry < 17.35 and card_value >= 1.00:
        card_value = card_value - 1.00
        print('Your new value in cash card is $', card_value)
        successful_deduction = True
    elif 17.35 <= time_of_entry < 18.00 and card_value >= 1.50:
        card_value = card_value - 1.50
        print('Your new value in cash card is $', card_value)
        successful_deduction = True
    elif 18.00 <= time_of_entry < 18.55 and card_value >= 2.00:
        card_value = card_value - 2.00
        print('Your new value in cash card is $', card_value)
        successful_deduction = True
    elif 18.55 <= time_of_entry < 19.00 and card_value >= 1.50:
        card_value = card_value - 1.50
        print('Your new value in cash card is $', card_value)
        successful_deduction = True
    elif 19.00 <= time_of_entry < 19.55 and card_value >= 1.00:
        card_value = card_value - 1.00
        print('Your new value in cash card is $', card_value)
        successful_deduction = True
    elif 19.55 <= time_of_entry < 20.00 and card_value >=0.50:
        card_value = card_value - 0.50
        print('Your new value in cash card is $', card_value)
        successful_deduction = True
    elif time_of_entry >= 20.00 :
        card_value = card_value - 0
        print('Your new value in cash card is $', card_value)
        successful_deduction = True
    else:
        print('You do not have sufficent balance in your cash card')  # Modify to display insufficent balance in cash card
        successful_deduction = False

@weifeng What is the issue? Provide some insight