Question: python 2. (5 points) what will be the output of the program? Please explain it in details. 1 a 2. def fun1(): a - 2

python python 2. (5 points) what will be the output of the program?

2. (5 points) what will be the output of the program? Please explain it in details. 1 a 2. def fun1(): a - 2 4 def fun2(): 5 print(100) print(a) 7 fun2() 9. def fun2(): 10 global a a - 3 12 print(200) 13 14 fun1() 15 print(a) 16 fun2 17 print(a) 8 11

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 Databases Questions!