Lab #2-Taking a Vacation

In this lab the main objective was to create different functions and assign them values and another function to calculate all the functions together to make a total product. The values of the functions used ‘if’, ‘elif’ and ‘else’ conditions to give strings a value. These values represented the cost of the trip to a certain city. Then a function was created to find the cost of a rental car for x amount of days. Finally a third function was created to combine the cost of the trip and the car rental to give a total cost.

lab 2 page 1lab 2 page 2lab 2 page 3lab 2 page 4lab 2 page 5lab 2 page 6lab 2 page 7