Assignment 2 : Taking a Vacation

Description

Using functions, create a program that can calculate the total cost of a trip. Break down the total cost into three separate functions (Cost of the hotel per night, cost the plane ride, and cost of car rental per day). Then create a function that sums up the total cost.

My Experience

I had trouble with syntax during this project. Most of the errors I got came from forgetting to put colons in my code. Overall, the project gave me a good idea of how a function should look like, and how it should work. One big thing that I learned was how if/elif/else and the inequalities (<, >) worked together. I can make it so that the result changes with different values, without having to define what each value would output.