Global name 'palne_ride_cost' is not defined. Help!


I can't figure this out where i made a mistake. Thanks for any help

getting this error:
Oops, try again. trip_cost('Pittsburgh', 8) raised an error: global name 'palne_ride_cost' is not defined

def hotel_cost(night):
return 140*night

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):
cost = 40 * days
if days >= 7:
cost -= 50
elif days >= 3:
cost -= 20
return cost

def trip_cost(city, days):
return rental_car_cost(days) + palne_ride_cost(city) + hotel_cost(days)



Not to be rude but did you read your error?


yeap I found it)) I was focusing on sintax and didn't notice misspell.
any way thanks for tip mate )