Section 8?


#1

Hi guys,

I finished the section 7 but when I try continue, not continue... Any idea ?


#2

Please post a link to the previous lesson. We can take it from there. Thank you.


#3

He's clarifying that he's just completed https://www.codecademy.com/en/courses/python-beginner-P5YtY/1/6?curriculum_id=4f89dab3d788890003000096 but it won't let him continue.


#4

My code is this (in spanish obviously, is my native language)

`def costo_hotel(noches):
return 140 * noches

def costo_del_vuelo(ciudad):
ciudades = {
"Córdoba": 821,
"Iguazú": 941,
"Ushuaia": 1280,
"Bariloche": 1848,
}
return ciudades[ciudad]

def alquiler_de_auto(dias):
costo = dias * 338
if dias >= 7:
costo = costo - 100
elif dias >= 3:
costo = costo - 50
return costo

def costo_viaje(ciudad, dias, gastos_extra):
costo = costo_del_vuelo(ciudad) + dias + gastos_extra
return costo

print costo_viaje("Bariloche",5, 600)`

And that screen is this:


#5

The lesson is: https://www.codecademy.com/en/courses/python-beginner-es-i1j3v/2/1 and is implied to be a new section: Title.

This lesson is https://www.codecademy.com/en/courses/python-beginner-es-i1j3v/1/6. Indeed, there is no lesson or instruction in #8, but you can still submit and finish.


#6

Oh, thanks ! its work !


#8