def hotel_cost(nights):
return nights*140
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
def rental_car_cost(days):
return days*40
if days>=7:
return days*40 - 50
elif days>= 3 and days < 7:
return days*40 - 20
#is anything wrong in the code above i am learing python at codeacademy and the result says that above code return value 120 instead of 100 for days = 3
#and also please tell me what are indentational errors
return nights*140
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
def rental_car_cost(days):
return days*40
if days>=7:
return days*40 - 50
elif days>= 3 and days < 7:
return days*40 - 20
#is anything wrong in the code above i am learing python at codeacademy and the result says that above code return value 120 instead of 100 for days = 3
#and also please tell me what are indentational errors



![[Image: CIbBKha.gif]](https://i.imgur.com/CIbBKha.gif)
