Oops, try again. It looks like rental_car_cost returns 20 instead of the correct amount (40) for 1 days.
I have played with this code which looked right; well certainly the math did!
Based on the information provided and the use of the word OR, I input the code expecting a pass; however, it kept giving the above error message..
Line 18 was the culprit!!
"elif days >= 3 and days <= 6:" I originally had "or" instead of "and". can you help me to understand why I need the "and", as I am having trouble getting my head around it.
Replace this line with your code. Do not remove the backticks that are above or below this line. elif days >= 3 and days <= 6: return 40 * days - 20