is it just me, or is the maths on this stage of the course wrong?
i have filled in the code as instucted and it has passed through seemingly without an issue, but having followed all orders, the maths does not check out, as a trip to Los Angeles for 5 nights with $600 spending money does not come to the accepted $1955 by both codecademy and the interpreter when i did the maths.
is this actually the case or am i just going mad?
return 140 * nights
if city == "Charlotte":
elif city == "Tampa":
elif city == "Pittsburgh":
elif city == "Los Angeles":
cost = 40 * days
if days >= 7:
cost -= 50
elif days >= 3:
cost -= 20
return hotel_cost(days) + plane_ride_cost(city) + rental_car_cost(days) + spending_money
print trip_cost('Los Angeles',5,600)
the interpreter says this comes to 1955, and any other answer returns "Oops, try again. It looks like the correct value (1955) was not printed." in the bottom left