Error in if condition


#1

def plane_ride_cost(city):

if city== "Tampa" or "tampa":
    return 220 
elif city== "Charlotte" or "charlotte":
    return 183
elif city== "Pittsburgh" or "pittdburgh":
    return 222
elif city== "Los Angeles" or "los angeles":
    return 474

#2

Hi,

You have to use e.g. city == "Tampa" or city == "tampa" if you want to do multiple comparisons.