Taking a Vacation

 

Description:

When I started this assignment on Code Academy, it looked easy from the beginning. Later on, it got more and more difficult. When I got up to Part 4, I got confused when I was using the if/elif/else. There was an error where it told me that I indented too much or I needed to fix my indentations. I went to the line it told me to fix and I fixed the error. Once I got up to Part 5 where I had to find the sum of the cost of whole trip, I made numerous attempts of getting the sum but it never worked. Until I realized I had to put the + symbol next to each function and close the end of the function with a parenthesis. After defining the required functions which was the hotel cost, rental car cost and plane ride cost, the total of the entire trip was about $1,955 because I included spending_money at the end of all the functions which allowed me to see the result of the cost of the trip. Upon completing this assignment, I learned that I need to make sure that my functions are written correctly and I use the right symbols and the correct indentation for if/elif/else/return, etc. The first assignment was a bit difficult but I was able to find the result for the cost of the trip..