Oops, try again. Your code looks a bit off. Feel free to peek back at earlier exercises if you need a refresher! Take a look at the console window for the error message from the interpreter.
I need help with the lesson.
Replace this line with your code. 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 plane_ride_cost("Tampa") def rental_car_cost(days): cost = 40*days if days>=7: cost -= 50 elif days >=3: cost -= 20 return cost def sum(): return plane_ride_cost(city)+rental_car_cost(days)+hotel_cost(days) def trip_cost(city,days) return rental_car_cost(days) + hotel_cost(days) + plane_ride_cost(city)