Error in Transportation section


I am having trouble figuring out what I did that causes an incorrect return?

Error: Oops, try again. It looks like rental_car_cost returns 1 instead of the correct amount (40) for 1 days.

def rental_car_cost(days):
    total = 40 * days
    if days >= 7:
        total -= 50
    elif days >= 3:
        total -= 20
    return days



 return days

why do you return days? i would be interested in how much it would cost to rent the car


hey is it you again @stetim94


hey is it you again @stetim94 do you remember me


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.