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

Read all the excerpts from Poems of the Atomic Bomb

Read all the excerpts from Poems of the Atomic Bomb by Toge Sankichi. What other concerns do the poems and Toge’s writings address aside from the devastation of the blast itself? Can you find any parallels or common themes that have been reflected in past readings or discussions? Also, share any

When the Resident Mood interview was completed, what conditions must

When the Resident Mood interview was completed, what conditions must be met for the long-stay MDS 3.0 QM “Percent of Residents Who Have Depressive Symptoms”? A. Any two of the symptoms in item D0200, Resident Mood Interview, items A – I, column 1, are scored a 1 B. All symptoms in item D0200, Resident

Topic 5 DQ 2 There are several different approaches to

  Topic 5 DQ 2 There are several different approaches to using CAM. They are classified by how they work therapeutically and can be separated into categories nutritional, psychological, physical, and a combination (NIH, 2021). Another form of CAM is spiritual healing that consists of prayer. Prayer is a form of

According to Susan Kaiser’s “Fashion and Cultural Studies”, we know

According to Susan Kaiser’s “Fashion and Cultural Studies”, we know how do we use dress to position ourselves as individuals and members of society. Imagine four subject position【 family+gender+relationship+art】that represents you on your intersectional map, for each of one, include a short paragraph (roughly 200words) which answers all of the

-Write a literature review on a healthcare legislature of interest

-Write a literature review on a healthcare legislature of interest Requirements: -4 pages – NO PLAGIARISM This assignment is worth 100 points and will be graded on the required components as summarized in the directions and grading criteria/rubric. This assignment will be graded on quality of information, use of citations,

Kindly am expert and a tutor in technical subjects and

Kindly am expert and a tutor in technical subjects and normal writing like computer science, mathematics, nursing.business and finance, accounting, chemistry, English, biology and physics’My tutor account was closed “Rose Wilson” Due to some misunderstanding with the admin assistant Jenifer Lopez. Kindly am a tutor whom you can depend on

Refer to section “The WH Framework for Business Ethics” of

  Refer to section “The WH Framework for Business Ethics” of Ch. 2, “Business Ethics,” of Dynamic Business Law for information on the WH Framework. For this assignment, refer to the scenario located in the “Questions & Problems” section of Ch. 2, “Business Ethics” in Dynamic Business Law. This scenario

Assignment Content This week you will continue working on your

  Assignment Content This week you will continue working on your marketing project plan for your chosen campaign developed in Weeks 2 and 3. You will start to outline details that will be included in your marketing project plan due in Week 5. Complete the Developing an Integrated Marketing Campaign

Attached you will find 2 posts by 2 different students.

Attached you will find 2 posts by 2 different students. You need to respond to each separately with your opinion on what they wrote about (give them feedback) Also extend your discussion, whatever you would like to add to what they wrote about (make sure add references)  No wikipedia or

Applying Social Disorganization Theories – Premium Paper Help

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.

Read the Mitchell (2013) article listed in the required reading list.

Read the Mitchell (2013) article listed in the required reading list. Leading change is an important part of successful project execution and implementation. The nurse leader and project manager should be intimately familiar with a particular change theory that serves as the framework for leading the change represented by a

DU Saudi Radiological Perceptions Research Paper Nursing Assignment Help

The research subject is Saudi radiological sciences interns’ and Recent graduates’ perceptions of the skills they acquire during their undergraduate degree program.  Expert Solution Preview Introduction: The research subject focuses on understanding the perceptions of Saudi radiological sciences interns and recent graduates regarding the skills they acquire during their undergraduate

Your assignment is attached as the PDF. This is a

   Your assignment is attached as the PDF. This is a simple assignment from Chapter 12. You will need to study Chapter 12 for this assignment. That is why the due date is at the end of Week 15.  The simple dataset that you will use for this assignment is

PART 1-Background Information on the Organization Brunt Hotels, PLC, owns

PART 1-Background Information on the Organization Brunt Hotels, PLC, owns more than 60 hotels throughout the United Kingdom. They recently acquired a small hotel chain headquartered in France. Brunt’s chief executive decided that half of the new hotels in France would be retained and re-branded as part of the Brunt

Class, It was only June 29th, 2007 when the first

Class, It was only June 29th, 2007 when the first iPhone came out, but it feels like we have been living with these devices and their apps for much longer. Smartphones have created a new way of living. We are always connected, have instant access to information, instant directions to