Question: Python tracing!! payroll = [2000, 3000, 1500] authorised = 0 overpaid = [] I think authorised should be 7000 after the 2nd time else, however
Python tracing!!
payroll = [2000, 3000, 1500] authorised = 0 overpaid = []
![Python tracing!! payroll = [2000, 3000, 1500] authorised = 0 overpaid =](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f5a9b7ef1df_79966f5a9b75e79e.jpg)
I think authorised should be 7000 after the 2nd time else, however there is no such a number in the selection...and also I think i got wrong for the overpaid which i think it should be [1,1] for the second time and [1,1,1] for 3rd time. However, I'm totally wrong!! IF SOMEONE CAN HEEEEELP ME OUT AND EXPLAIN!!! THANKS!!!!
place T authorised overpaid payroll = [2000, 3000, 1500] authorised = 0 overpaid = [] for place in range (len (payroll) ) : #
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
