Answered step by step
Verified Expert Solution
Question
1 Approved Answer
def bonus (num, bon): for i in range (len (num)): def main(): bon = 50 print('The bonus is added to all employees: ', ) Drag
def bonus (num, bon): for i in range (len (num)): def main(): bon = 50 print('The bonus is added to all employees: ', ) Drag and drop the appropriate statement to complete the above code that adds bonus to list of salaries of employees and the output is as The bonus is added to all employees: [1390, 915, 395, 740] return return num num[i] += bon bonus(salaries, bon) salaries salaries = [1340, 865, 345, 690] main() num[i] *= bon bonuso bonus(bon) bon salaries = (1340, 865, 345, 690)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started