Getting There 3/7

def hotel_cost(nights):
	return 140 * nights
def plane_ride_cost(city):
	if city == "Charlotte": 183
	return 183
	if city == "Tampa": 220
	return 220
	if city == "Pittsuburgh": 222
	return 222
	if city == "Los Angeles": 475
	return 475

I have tried using correct indentation but get errors from that. It is giving me the error “It looks like plane_ride_cost does not return 220 when the city is Tampa.”


Hi @mike.bell89,

Within your conditional block headers, why do you follow each city name and colon with a number?

Check your spelling here …

    if city == "Pittsuburgh": 222

After making other corrections, check your indentation again.


Thank you that worked. I was going off of the example.