https://github.com/candytale55/taking_a_vacation_python_2
When planning a vacation, it’s very important to know exactly how much you’re going to spend. Function trip_cost takes three parameters, city, days and spending_money and returns the sum of calling functions rental_car_cost(days), hotel_cost(days - 1), and plane_ride_cost(city) functions + spending_money passed as argument to provide a total cost for a vacation.
https://github.com/candytale55/taking_a_vacation_python_2
Last synced: about 1 year ago
JSON representation
When planning a vacation, it’s very important to know exactly how much you’re going to spend. Function trip_cost takes three parameters, city, days and spending_money and returns the sum of calling functions rental_car_cost(days), hotel_cost(days - 1), and plane_ride_cost(city) functions + spending_money passed as argument to provide a total cost for a vacation.
- Host: GitHub
- URL: https://github.com/candytale55/taking_a_vacation_python_2
- Owner: candytale55
- Created: 2021-01-14T20:23:47.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-14T20:34:56.000Z (over 5 years ago)
- Last Synced: 2023-05-29T01:21:03.541Z (about 3 years ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0