![screenshot-27](https://openlab.citytech.cuny.edu/mdiba-eportfolio/files/2016/11/Screenshot-27-1-300x169.png)
gain we define another function name plan_ride_cost to determine the cost of the ride for each of our city and using an if statement
![screenshot-29](https://openlab.citytech.cuny.edu/mdiba-eportfolio/files/2016/11/Screenshot-29-1-300x169.png)
now we want to know our entire dispenses (the cost of the trip), so we define a new function called trip_cost that take two arguments and return the sum of calling our to recent function plan_ride_cost and rental_car_cost and hotel_cost.
![screenshot-30](https://openlab.citytech.cuny.edu/mdiba-eportfolio/files/2016/11/Screenshot-30-2-300x169.png)
we add another argument “spending_money” inside the trip_cost function, so we add add the spending_money in the return so it will modify what the function does.
![screenshot-31](https://openlab.citytech.cuny.edu/mdiba-eportfolio/files/2016/11/Screenshot-31-2-300x169.png)
after having set all my our plan now we want to choose Los Angeles for 5 day with $600 in our pocket. thus, we use print statement as “print trip_cost(“Los Angeles”, 5, 600) and we are done!
we going to plane our vacation