What is the output of the following code ?
def foo(): x = 25 print(x) x = 50 foo()
Inside function foo, the x in the statement x = 25is a local variable to the functionAnd x = 50 is a global variable
x = 25
x = 50
Comment here: