Checked it over and over and I don't know what is wrong


#1

what about my code??? I've checked it over and over and I don't know what is wrong.

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

Taking a vacation...again
#2

The indentation is a little out of skew. This must be raising syntax errors.


#4

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