Oops, try again. Your code looks a bit off. Feel free to peek back at earlier exercises if you need a refresher! Your code threw the following error: invalid syntax (python, line 17)
I don't see where the code is going wrong, as stated in the error message its something wrong with line 17, but I can't figure out what.
def hotel_cost(nights): return 140 * nights def plane_ride_cost(city): if city == "Charlotte": return 183 elif city == "Tampa": return 220 elif city == "Pittsburgh": return 222 elif city == "Los Angeles": return 475 def rental_car_cost(days): total=days*40 return total if days>=7: total=total-50 elif days>=3 or days>=7 total=total-20 return total