Question: You are tasked with developing a program to manage information on business trips made by employees to various cities where your company has offices. Unfortunately,
You are tasked with developing a program to manage information on business trips made by employees to various cities where your company has offices. Unfortunately, your company did not adopt a uniform method for recording this information, so you have to develop a program that can handle different types of data. Specifically, the business trip data is a python list containing a combination of dictionaries and tuples, where each dictionary or tuple represents information about a specific trip. The relevant data are the employee's name, destination city, roundtrip mileage, and the date of the trip. The dictionaries contain the information in keyvalue pairs ie name, destination, mileage, date while the tuple contains the same information ordered sequentially ie tupledata name destination, mileage, date The employee data is given in the code cell below:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
