Suoritettu

Python website

Create and test a function to compute net pay from payment, work and tax credit information.

-----------------------

Read in a file named [login to view URL], which contains the following information: (space separated)

<StaffID> <LastName> <FirstName> <RegHours> <HourlyRate> <OTMultiple> <TaxCredit> <StandardBand>

For Example:

12345 Green Joe 37 16 1.5 70 700

Create Employee Objects from these (you must create at least two in your solution)

Read in a file named [login to view URL] which contains the following information: (This must have more rows than the file [login to view URL])

<StaffID> <Date> <HoursWorked>

12345 31/10/2021 42

Create a method computePayment in class Employee which takes HoursWorked and date as input, and returns a payment information dictionary as follows: (if jg is an Employee object for worker Joe Green)

We will assume a standard rate of 20% and a higher rate of 40% (we will ignore PRSI, USC etc.)

>>>[login to view URL](42 '31/10/2021')

{'name': 'Joe Green', 'Date':'31/10/2021', 'Regular Hours Worked':37,'Overtime Hours Worked':5,'Regular Rate':16,'Overtime Rate':24, 'Regular Pay':592,'Overtime Pay':120,'Gross Pay':712, 'Standard Rate Pay':700,'Higher Rate Pay':12, 'Standard Tax':140,'Higher Tax':4.8,'Total Tax':144.8,'Tax Credit':70,'Net Deductions':74.8, 'Net Pay': 637.2}

Include test cases testing the following:

Net pay cannot exceed gross pay

#TestMethod

def testNetLessEqualGross(self):

e=Employee(#Joe Green's Information)

pi=[login to view URL](1,'31/10/2021')

[login to view URL](pi['Net Pay'],pi['Gross Pay'])

Overtime pay or overtime hours cannot be negative.

Regular Hours Worked cannot exceed hours worked

Higher Tax cannot be negative.

Net Pay cannot be negative.

Taidot: Python, Tietojärjestelmäarkkitehtuuri, Tietojen kaavinta verkosta, PHP, JavaScript

Näytä lisää: function insert net, integrate paypal website payments pro net web site, will projects net work online, python email function, hello interviewing website designers hired freelancer work company, freelance work tax irs florida, cart net work, website joomla asp net, battle net work diablo lod, flash website using dot net, develop search function using net, crystal reports net work web server, function imageresize net, website proposal looking forward work, contract work tax calculator, best website find part time work, compute net tax payable refund due 2008, how does the federal solar tax credit work, how does the r&d tax credit work

Tietoa työnantajasta:
( 0 arvostelua ) Dublin, Ireland

Projektin tunnus: #32213733

Myönnetty käyttäjälle:

MohitGoyal19

Hi I am a professional Python Developer. I have read the details and can develop the required function in minimum time. Please share the files so that I can get started with it. Thanks and Regards Mohit

€30 EUR 1 päivässä
(12 Arvostelua)
3.5

9 freelanceria on tarjonnut keskimäärin €123 tähän työhön

techplusintl

Hi there, ★★★ Python Expert ★★★ 9+ Years of Experience ★★★ I've read requirements and ready to create and test a function to compute net pay from payment, work and tax credit information. -. Websites we built with Pyt Lisää

€250 EUR 2 päivässä
(289 arvostelua)
7.9
(42 arvostelua)
7.2
QbikThino

Hi there! My name is Mahedi and I am a Python ‘expert’. I am certain I can do this for you! I am committed to getting your job done right, respond promptly to any communications and deliver on time. Hope to hear from Lisää

€140 EUR 7 päivässä
(58 arvostelua)
6.1
MashoodurRehman1

Python Full Stack Web Developer I have read your job description and I am pretty sure that I can complete every bit of your requirements. Further details and cost can be discussed in chat

€140 EUR 2 päivässä
(61 arvostelua)
5.6
mannanmaan1425

Note: I am available to start right now! Dear Hiring Manager, I have read out your job description and the requirements asked for the job.I am Developer working on the niche of website development as I have profou Lisää

€30 EUR 1 päivässä
(20 arvostelua)
4.9
InstantCreate

As a web developer, my skill is perfect in your job Python website .. I have Skills in PHP, WordPress(CMS), HTML5, CSS3, JavaScript, jQuery, Bootstrap, PSD to HTML, Website design HTML, Laravel, PHP, MySQL and Website Lisää

€140 EUR 7 päivässä
(4 arvostelua)
3.5
oleksandryakoven

Hi, Hope you are doing well. Are you looking for a Full Stack Web Developer to can build a python website? I am very interested in your project. I am a web developer having over 7 years of experience. Hope to discuss Lisää

€100 EUR 2 päivässä
(8 arvostelua)
3.2
talhaabutt817

I have my major expertise in Java & Python. I have done many projects and have experience of 4+ years. Just check me out. I will complete your project. Let me know about all the details! I won't disappoint you. I would Lisää

€30 EUR 1 päivässä
(4 arvostelua)
2.9