Functions Lab-Codeacademy

taking vacation1.7

This was just a warm-up in which I wrote a function called answer  and wrote return(42).taking vacation 2.7

In this step, I introduced hotel_cost with (nights) as input.
taking vacation3.7In this slide, I showed the cost of each plane ride, then later I had the price returned to the function’s input.

taking vacation4.7

 

I introduced the rental car in this slide, showing that everyday that passes,I would be charged $40 for the rental cost. It even came with a discount.
taking vacation 5.7I followed all directions, I think so.  For some reason I keep getting it wrong. I cannot move forward when I do not know what else to do. I will try to fix this and if successful, I will post the rest.