Planning Your Trip


#1



Help me on this lesson please, i don't know what is wrong I looked at the qa forum that was archived

https://www.codecademy.com/courses/python-beginner-P5YtY/1/1?curriculum_id=4f89dab3d788890003000096#


Oops, try again. Did you create a function called hotel_cost?


Replace this line with your code. 
def hotel_cost(nights):
return 140 * nights


#2

When we create a function all the code that is part of the function needs to be indented. In this case return 140 * nights should be indented.


#3

thanks for your help


#4

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