Planning Your Trip


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

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

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


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.


thanks for your help


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