Question: Name & Section #: Show a trace of the program. Note: The table has MORE ROWS than are needed. Line# | total l income I

Name & Section #: Show a trace of the program. Note: The table has MORE ROWS than are needed. Line# | total l income I count qty 1def cost (gty): 2 c=qty * 20 if qty 10: a*= 1.5 returnc 61 total = 0 8 count1 9 while count 12: 10 income += cost (count) total count print ( ' total=' + str (total) 12 \ +'income-' + format (income, .2f) 13 14 | count-total 15 print (count) count 5 Show program OUTPUT here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
