Oops, try again. It looks like rental_car_cost returns None instead of the correct amount (100) for 3 days
Tried loads of different ways been stuck for ages. obviously theres something wrong. something not being defined as it comes back as none. tried defining days didnt seem to work. tried defining cost different also tried doing it like in the previous tasks. im doing something wrong!!
def rental_car_cost(days): cost = 40 * days if days >= 7: cost - 50 elif days >= 3 and days < 7: cost - 20 else: return cost