I am not sure what I need to do to make this code work?
What is the error message? I can’t see it, it would massively help.
the best would be to copy paste your code to the forum and the exercise url and the error message.
Try it without subtracting 1 from days.
... + hotel_cost(days) + ...
I tried that earlier but it didn’t help.
Check your spelling. See what the error message shows?
My spelling seems fine after double checking. What I have come across a lot is that my indentations seem to impact the results a lot, but not sure what part I need to redo if this is the case.
The spelling error indicated is in line 23 return statement.
mtf is right though, you did make a typo/spelling mistake which causes the error
Ha! I finally saw the spelling error. Thank you for your careful eyes!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.