Pull It Together 5/7


#1

I am not sure what I need to do to make this code work?


#2

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.


#3

Try it without subtracting 1 from days.

... + hotel_cost(days) + ...

#4

Here is it!


#5

I tried that earlier but it didn’t help. :frowning:


#6

Check your spelling. See what the error message shows? plan_ride_cost?


#7

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.


#8

The spelling error indicated is in line 23 return statement.


#9

mtf is right though, you did make a typo/spelling mistake which causes the error


#10

Ha! I finally saw the spelling error. :slight_smile: Thank you for your careful eyes!


#11

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