Question: i need help tracing this problem 2. Consider the function below. 1 def Q2 (L): 2 k = -1000 3 for i in L: 4
2. Consider the function below. 1 def Q2 (L): 2 k = -1000 3 for i in L: 4 if ick: 5 return i 6 k=i 7 return - 1000 Trace the execution of Q2([3,6,9,5,2,1])
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
