Transportation problems with code


#1



https://www.codecademy.com/courses/python-beginner-P5YtY/1/3?curriculum_id=4f89dab3d788890003000096


Whats wrong with this? I get the error message "It looks like rental_car_cost returns 210 instead of the correct amount (230) for 7 days."


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


#2

you should substract 50 not 70