Help me on this. how do i return the sum and why isnt this working


def trip_cost(city, days):
return cost * plane_ride_cost(city)
return cost * rental_car_cost(days)
return cost * hotel_cost(days)


a sum means adding plane_ride_cost(city), rental_car_cost(days) and hotel_cost(days) using the + operator

a function ends the moment a return keyword is reached, so you want get the sum of this function and return it on the same line


thanks. not sure how I didn't get that .