Take a vacation Forum


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
return 475


def rental_car_cost(days):
if days>=7:
return days*40-50
elif days>=3:
return days*40-20
return rental_car_cost



Hi, is there something you'd like to ask?
Keep in mind that there's going to be somebody on the other end, if you want something you've got to explain what that is.

Also please take the time to ensure that your code is intact/correctly formatted


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.