Transportation help please!


#1

Here is my code:
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
else:
return """Please choose from the listed cities:
-Charlotte
-Tampa
-Pittsburgh
-Los Angeles"""

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

I'm not sure what I have done wrong here.. Please help! Thanks


#2

Herro!

You'll probably want to describe what's going on and what should happen differently, as well as make sure that the code in your post can be copied to produce the same result as you describe!