Question: CODE def add2numbers(): a = 1 + 2 def test(): tmp = add2numbers() return tmp for i in range(5): add2numbers() test(). In the code above,

CODE def add2numbers(): a = 1 + 2 def test(): tmp = add2numbers() return tmp for i in range(5): add2numbers() test(). In the code above, how many times is the line "a = 1 + 2" executed? A. 1 B. O C. 5 D.2 E. 10
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
