Here is my code for Python "Taking a Vacation" Exercise 4:

def rental_car_cost(days):

days = 40 * abs(days)

if days >= 7:

return days - 50

elif days >= 3:

return days - 30

elif days == 1:

return abs(40)

return days

but the error message states "Oops, try again. It looks like rental_car_cost returns -10 instead of the correct amount (40) for 1 days."

Am I missing something, or is there a bug?