Write a python program to collect all data of a road trip


Problem

Write a Python program to collect all the data of a road trip and calculate each person's share of the cost. Prompt the user for each of the following:

1) The number of people on the trip.
2) The number of days of the trip.
3) For each day of the trip:

a) Cost of food.
b) Cost of gas.

The food and gas costs should be stored in two separate arrays. Calculate and display each of the following:

1) The total cost of each category.
2) The total cost of the trip.
3) Each person's share of the total cost.

Your program should include Header comments (what the program does) and in-line comments (the major design steps). Also document the currency of the country visited.

Request for Solution File

Ask an Expert for Answer!!
Python Programming: Write a python program to collect all data of a road trip
Reference No:- TGS03249158

Expected delivery within 24 Hours