Write python program which imports three dictionaries

Assignment Help Python Programming
Reference no: EM1368605

You are an overworked, underpaid lab administrator. It's your job to figure out who has spent how long working on various projects. The Python file lab.py defines three dictionaries with information you'll need:
(INPUT CHECK BELOW Just and create file name lab.py and take input form that)

* Person maps user IDs to names;
* Project maps project IDs to project names; and
* Experiment describes the experiments that have been done for each project.
The keys in this dictionary are project IDs; the values are also dictionaries, with experiment names as keys, and lists of dates, hours spent, and people involved as values.

Write a Python program called hours.py that imports these three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.

Reference no: EM1368605

Questions Cloud

Write program which prompts for boiling point of substance : Write program which prompts user for observed boiling point of substance in Centigrade and identifies substance if observed boiling point is within 5% of the expected boiling point.
Discuss two aspects of firms credit policy : Identify and discuss two aspects of firms' credit policy. Identify one difference in the credit policies of different company and describe why this  difference may be important to consumers.
Explain how to upgrade bus topology lan : You are asked to upgrade bus topology LAN at a friend's house to a star topology LAN. your friend wishes to connect three computers and printer and use Ethernet access method.
Explain soprano manufacturing acquired severel pieces : Explain Soprano manufacturing acquired severel pieces of expensive heavy machinery it intends to use in its operations
Write python program which imports three dictionaries : Write a Python program called hours.py which imports three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.
Estimating return on total assets : Use the following information from a company's pro forma financial statements to calculate the following profitability ratios for the firm, assuming that all stocks are common stocks:
Explain where ip best solution method : Post note describing an example where IP would be the best solution method. at lease 100 words. Where do we go from here with Operations Research and Management Science?
Find the equation of the new demand curve : Starting with estimated demand function for Chevrolets given Problem 2, suppose that the average value of the independent variables changes to n=225 million,
Calculate the value of funds needed : An engineer considering for retirement decides that she wants to have income of $100,000 per year for 20 years with the first withdrawal starting 30 year from now.

Reviews

Write a Review

Python Programming Questions & Answers

  Write a program for checking a circle

Write a program for checking a circle program must either print "is a circle: YES" or "is a circle: NO", appropriately.

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

  Python function to calculate two roots

Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive.

  Python atm program to enter account number

Write a simple Python ATM program. Ask user to enter their account number, and print their initail balance. (Just make one up). Ask them if they wish to make deposit or withdrawal.

  Design program that asks user to enter amount in python

IN Python Design a program that asks the user to enter the amount that he or she has budget in a month. A loop should then prompt the user to enter his or her expenses for the month.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd