Where is a bug?


#1

def plane_ride_cost (city):
city = raw.input(":")
if city == "Charlotte":
return 183
elif city == "Tampa":
return 220
elif city == "Pittsburg":
return 222
elif city == "Los Angeles":
return 475


#2

if you want to use raw_input, place it outside the function and supply it as argument


#3

thanks a lot for your help


#4