Getting There

When I type in the following code:

def hotel_cost(nights):
return 140 * nights

def plane_ride_cost(city):
if city == “Charlotte”:
return 183 * nights
elif city == “Tampa”:
return 220 * nights
elif city == “Pittsburgh”:
return 222 * nights
elif city == “Los Angeles”:
return 475 * nights

Code Academy returns this error:
Oops, try again. Did you create a function called plane_ride_cost?

As you can see I clearly did so what seems to be the issue?

Hola, me puedes ayudar con un codigo es que no se que debo poner para eso: Haz que tengan un borde de dos píxeles de ancho, de línea sólida y de color negro.
No se lo de la linea solida.

1 Like

¿Estás hablando de otro proyecto o mío?

1 Like