Need help


#1



It say when I pick the city Los Angeles it doesn't return back 475. But I did put the return command.


city_one = raw_input("Please select a city to find out cost. Charlotte, Tampa, Pittsburgh, Los angeles.")

nights = input("For how many nights will you be staying? An integer please:")

r = city_one[0].upper()

city = (r + city_one[1:])


def plane_ride_cost(city):
     
     if city == "Charlotte":
         print "Plane cost will be:"
         print 183
         return 183
     
     elif city == "Tampa":
         print "Plane cost will be:"
         print 220
         return 220
         
     elif city == "Pittsburgh":
         print "Plane cost will be:"
         print 222
         return 222
         
     elif city == "Los angeles":
         print "Plane cost will be:"
         print 475
         return 475
     
     else :
         print "Error"
         return "Error"

def hotel_cost(nights):
    if nights == int(nights):
        print "The hotel cost will be:"
        print 140 * nights
        return 140 * nights
    
    else:
        print "Error"
        return "Error"
 

hotel_cost(nights)
plane_ride_cost(city)


#2

here:

elif city == "Los angeles":

Los Angeles, both words should start with an uppercase letter


#3

Thank you!

..........


#4