10. 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 def fun_a(): var = 2 4 print(var) 5 6....


10. 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>def fun_a():<br>var = 2<br>4<br>print(var)<br>5<br>6.<br>print(

Extracted text: 10. 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 def fun_a(): var = 2 4 print(var) 5 6. print("printing.…..") 7 def fun_b(var): print(var + 5) 8 10 11 def fun_c(): 12 print(var) 13 return var 14 15 print("printing again...") 16 fun_c() fun_a() fun_b(var) print(var) 17 18 19 20

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here