#sample solution
def hotelCost(days):
return days * 140
def planeRideCost(city):
if city == "Charlotte":
return 183
elif city == "Tampa":
return 220
elif city == "Pittsburgh":
return 222
elif city == "Los Angeles":
return 475
else:
return "Unknown destination"
No comments:
Post a Comment