. What scope does the variable var have on lines 1, 3, 4, 8, 9, 12, 13, 19 and 20? What values will be printed by lines 4, 9, 12 and 20? var = 10 2 def fun_a(): 3 var = 2 4 print(var) 6...


What scope does the variable
var
have on lines 1, 3, 4, 8, 9, 12, 13, 19 and 20? What values will be printed by lines 4, 9, 12 and 20?








. What scope does the variable var have on lines 1, 3, 4, 8, 9, 12, 13, 19 and 20? What<br>values will be printed by lines 4, 9, 12 and 20?<br>var = 10<br>2 def fun_a():<br>3<br>var = 2<br>4<br>print(var)<br>6<br>print(

Extracted text: . What scope does the variable var have on lines 1, 3, 4, 8, 9, 12, 13, 19 and 20? What values will be printed by lines 4, 9, 12 and 20? var = 10 2 def fun_a(): 3 var = 2 4 print(var) 6 print("printing..") def fun_b(var): print(var + 5) 8. 9. 10 | 11 12 | 13 | 14 15 print("printing again...") def fun_c(): print(var) return var 16 fun_c() fun_a() fun_b(var) | 20 print(var) 17 18 19 Page 3 of

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here