I am new to python programing and need some help with the fo

I am new to python programing and need some help with the following assignment. Write a fully functioning programm that correctly uses list, reads and writes to an external file.
Megan owns a small coffee shop. All of the employees have the same hourly pay rate. Megan has asked you to design a program that will allow her to enter number of hours worked by each employee and then display the amounts of all the employees\' gross pay. You determined that the program should perform the following steps:
Fir each employee:
get the employee name from the file named employee_names.txt (provided by teacher- containing employee\'s names)
get the number of hours worked from the employee (input)
store in employee_names files - beside the corresponding emp[loyee name
read data from file and stire hours worked in a list element

2. For each list element: use the value stored in the element to calculate and employee\'s gross pay.
Display the amount of the gross pay
Hourly rate $12.00
Overtime should be calculated at time and a half after 40 hours

Solution

program:

# define functions

def count(h):

/ this function is used to count the number of hours an employee works /

def name(e):

/ this function is used to give the name of emplooyees /

def gross(g):

/ this function is used to display the gross pay of each employee /

return g

def overtime(o):

/this function is used to display the overtime of employee/

return g+o

(# take input from the user)

h=$12.00

g=(h*no of working hours)* no of working days

print(\"salary\")

I am new to python programing and need some help with the following assignment. Write a fully functioning programm that correctly uses list, reads and writes to

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site