Hotel costs in the trip


#1

Just a thought -
https://www.codecademy.com/courses/ taking vacation - COST OF HOTEL

If the trip is X days, the stay at hotels should be at least ONE NIGHT LESS!
so if one's trip is 10 days - only 9 nights at the hotel should be counted!

That is why I calculated the total hotel costs as total_cost += hotel_cost(days-1)

best to all


#2

well, good challenge isn't it?

You are free to expand on programs you build in the exercise.


#3

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