A

Admin • 833K Points
Coach

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
  • Correct Answer - Option(A)
  • Views: 26
  • Filed under category Python
  • Hashtags:

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.

Be the first to start discuss.