Home / Programming MCQs / Python MCQs / Question

T

Tanmay • 2.43K Points
Master

Q. What will be the output

Code:
def f1(x): global x x+=1 print(x) f1(15) print("hello")
(A) error
(B) hello
(C) 16 hello
(D) none

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.