Assume you have fixed width, comma separated records Example: "22113344, Jane White ,22/04/2020,1234.56" id : 8 chars na

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Assume you have fixed width, comma separated records Example: "22113344, Jane White ,22/04/2020,1234.56" id : 8 chars na

Post by answerhappygod »

Assume You Have Fixed Width Comma Separated Records Example 22113344 Jane White 22 04 2020 1234 56 Id 8 Chars Na 1
Assume You Have Fixed Width Comma Separated Records Example 22113344 Jane White 22 04 2020 1234 56 Id 8 Chars Na 1 (23.67 KiB) Viewed 51 times
Assume you have fixed width, comma separated records Example: "22113344, Jane White ,22/04/2020,1234.56" id : 8 chars name: 25 chars starting date: 10 chars (delimiter/) salary: 7 chars In your program create a list of employees (a list of staff records) 1. write a function which lists the employees who started working at least two years ago 2. write a function which changes the salary for a given employee (i.e. id of the employee will be given and the new salary) Call your functions to test their functionality in any way you want. SUBMIT ONLY ONE .py FILE
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply