Live quiz

python-programing - Part 50

Question 1 of 25 Hints left: 3
Q1

What will be the output of the following Python code? x=1 def cg(): global x x=x+1 cg() x

  • A
  • B
  • C
  • D