Giacomo gives good succ


#1

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 "0"


Replace this line with your code.


#2

As far as I can see you don't need this else and

your return numbers don't need to be in quotes


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.