Question: python question 2. (5 points) what will be the output of the program? Please explain it in details. 1 a 2. def fun1(): 3 a
2. (5 points) what will be the output of the program? Please explain it in details. 1 a 2. def fun1(): 3 a = 2 4. def fun2(): 5 print(100) print(a) 7 fun2() def fun2(): 10 global a a - 3 print(200) 13 14 fun1() 15 print(a) 16 fun2() 17 print(a) 11 12
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
