Question: Extra Point: Trace the code and add the answer. 1 def traceCode( var ): 2 3 4- 6 result = 0 #this will print

Extra Point: Trace the code and add the answer. 1 def traceCode(

 

Extra Point: Trace the code and add the answer. 1 def traceCode( var ): 2 3 4- 6 result = 0 #this will print number 1 to 10 for i in range( 1, 10): if i > var: #adding valur to result result result + i return result 9 print traceCode( 7 ) Your answer 5 points

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!