Question: employees = [ ' Amie ' , 'Bato' , 'Cam', 'Dagon', 'Edmond', 'Ferris', 'Georgia' ] file = open ( monthlywinner . csv )
employees Amie 'Bato' 'Cam', 'Dagon', 'Edmond', 'Ferris', 'Georgia' file open monthlywinnercsv # red the line of winner name line file.readlinerstrip
# split on the comma winners line.split print Employee of the Month Report" print print fMonth:sName # report month name and winer name for index in range : print fmonthsindex:swinnersindex print # get valid month and report the winner month inpit Enter month ex Jan: # TODO: use a data validation loop to ensure month is in months list
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
