Note: The assignments in this course are a series of

Note: The assignments in this course are a series of projects that build on one another.

Overview  

The purpose of this assignment is to demonstrate knowledge of advanced datatypes and the use of lists and dictionaries to store, retrieve process data.

Scenario

The company has approved the proof of concept provided in your week three assignment but wants to change some of the data as well as the processing.  In addition to the data input, you will need to include the “from date” and “to date” for the hours worked.  Detailed information will not be displayed until all the data has been entered, followed by the total summary for the payroll.   

  • All the coding will be maintained from your week three assignment and modified as needed to meet the new requirements.

Instructions  

Complete the following in Practice Labs:

  1. Create a new function that will input and return the from date and to date for the hours worked and is called inside the loop.  This should be the first function called.  Dates must be in the format mm/dd/yyyy.
  2. Store the from date, to date, employee name, total hours, hourly rate and income tax rate in a list object. Note: multiple list objects may be needed to complete this functionality
  3. After the user terminates the loop, call a function that will:
    • Read through the list(s) and for each employee calculate the income tax and net pay.  
    • Display the from date, to date, employee name, hours worked, hourly rate, gross pay, income tax rate, income taxes and net pay for the employee
    • Increment the total number of employees, total hours, total tax, total net pay and store the values in a dictionary object.
  4. Modify the function that displays totals to read the data from the dictionary object and then display the totals.
  5. Submit the Python source code file and a Word document that contains a screen shot of input and display for one employee and a screen shot of the display of totals.  A minimum of five employees must be entered to receive full credit. Include a 1-2 sentence reflection on the successes and/or challenges you had with this assignment.     
  • Ensure all functionality is working correctly and code is written efficiently. For purposes of this assignment, writing code efficiently is defined as:
    • Using correct naming conventions for all variables and objects.
    • Using correct naming conventions for functions and methods.
    • Using built-in functions whenever possible.  
    • Using the fewest lines of code needed to return multiple values from functions.
    • Using the fewest lines of code needed to complete the functionality defined.

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

Choose one of the following characters or things. Reserve it

Choose one of the following characters or things. Reserve it on the subject line.  Verify before you post because there are to be no duplications. Begin your post with:  I am XXXXX and I am significant to Farming of Bones because…….  Then develop a 150 word discussion of why the I is

Analyze India, and formulate a plan of action to address

   Analyze India, and formulate a plan of action to address end of life care among, low socioeconomic group. Also address the following: 1. What would be the plan’s main goals? 2. Who might be on your team (professionals) and why, describe their roles. 3. What would your team’s research

How much is the Maytag Corporation approximately worth? If Haier

How much is the Maytag Corporation approximately worth? If Haier submitted a bid for Maytag, what would be a bid price?  ·from a financial perspective (price-earning or P/E ratio):  Ø market value = “multiple” x EPS x common shares outstanding Ø industry “multiples” ranges from 16-21 Ø projected earning-per-share: $.54

PART 1 Use the Healthways financial statements= Attachment 1) Using formulas, conduct a horizontal analysis by calculating changes over the periods of time for which you have statements. Conduct your Nursing Assignment Help

PART 1 Use the Healthways financial statements= Attachment 1) Using formulas, conduct a horizontal analysis by calculating changes over the periods of time for which you have statements. Conduct your analysis for the following over the 2–3 years for which you have statements: · Changes in Revenue · Changes in

FINC 330 Project Descriptions_Research Project _Bond and Stock

Using the information from the websites the student will develop evaluation of bond and stock performance for THE COMPANY (SELECTED BY INSTRUCTOR). (The evaluation portion will total 85% of the assignment grade) -1—Background and Industry (one short paragraph). -2- The financial leverage ratios (10% of the project grade) a) Find

Mexico had permitted and even invited immigrants to part of

  Mexico had  permitted and even invited immigrants to part of its Northern territory. In the case of the Northeastern section of Mexico, those immigrants  interacted and in a few cases intermarried with the existing inhabitants Northern Mexicanos and Indios.  Although for the most part (like other Northern Mexican regions-today

Image your company (Recreation center) has now grown larger and

  Image your company (Recreation center) has now grown larger and you have now moved to using an Access database so that 15 of your employees may enter data, rerun reports, and keep things going. Tell us what types of data would need to be collected (what table names and

Does one of the Abrahamic faiths (Judaism, Christianity, Islam) have

Does one of the Abrahamic faiths (Judaism, Christianity, Islam) have a greater claim to dogmas of peace than another.  Which has more peaceful rhetoric in scripture? E.g., does the Bible have more peaceful or more violent verbiage than the Quran? Which one of them, if any, can make a claim

http://www.youtube.com/watch?v=47QgqdeSi0U http://www.youtube.com/watch?v=I356lV1v8Bc http://www.youtube.com/watch?v=RbBQN0Wt_wY http://www.youtube.com/watch?v=6z_Kjsn8VLI After watching the videos in the

 http://www.youtube.com/watch?v=47QgqdeSi0U    http://www.youtube.com/watch?v=I356lV1v8Bc   http://www.youtube.com/watch?v=RbBQN0Wt_wY    http://www.youtube.com/watch?v=6z_Kjsn8VLI   After watching the videos in the Module/Week 1 Reading & Study folder, answer the following questions in a Word document: Define Trompe l’oeil What does the bottom register of the Arena Chapel (Passion) depict? Are all the narrative depictions included in the Chapel actually in the

Because Windows Phone 7 was launched three and a half

Because Windows Phone 7 was launched three and a half years after the iPhone, it has benefited from the lessons learned by older revisions of iOS.  The latest generation of mobile devices are portable enough to carry at all times, connected to voice and data networks, and contextually aware by using sensors and networks to preemptively complete tasks.  Many of

Presentation Four: The Research Process & Choosing a Topic (https://lms.nimblywise.com/courses/course-v1:American-Public-University-System+BUS-Orientation+2020/block-v1:[email protected][email protected]/new_tab)

Premium Paper Help is a professional writing service that provides original papers. Our products include academic papers of varying complexity and other personalized services, along with research materials for assistance purposes only. All the materials from our website should be used with proper references.

Drug use among Saudi youth is an increasing concern. Narcotics

 Drug use among Saudi youth is an increasing concern. Narcotics smuggling continues to be a challenge along the border areas. Ministry of Interior (MOI) officials have identified border security as an area of concern and are addressing the issue through additional training and physical barriers. Security officials have encountered armed

NURS 5311 MDC Health & Medical Organizational Design Essay Nursing Assignment Help

Organizational Structure Instructions: Review the organizational chart of your current organization (Ill put my company in comments and my role). Analyze the organization’s design: division of labor, departmentalization, span of control, authority. Knowing what you know about the organization, how could it be re-structured to improve outcomes? Why or why

You had the chance earlier in the course to practice

   You had the chance earlier in the course to practice with multiple regression and obtain peer feedback. Now, it is time once again to put all of that good practice to use and answer a social research question with multiple regression. As you begin the Assignment, be sure and

Evaluate the strategy of Hezbullah since 2006.

What is expected in an essay is a good question, well stated, that allows you to select and focus on two or three main issues of the topic. A good essay has an introduction that tells the reader what the question is and why it is important. The introduction will