1.

What will be the output of the following code? x = 3 def myfunc(): global x x+=2 print(x, end=' ') print(x, end=' ') myfunc() print(x, end=' ')a. 3 3 3 b. 3 4 5 c. 3 3 5 d. 3 5 5

Answer»

Answer is d. 3 5 5



Discussion

No Comment Found

Related InterviewSolutions