Look at the code below. Is it OK, or will it produce an error?
a = 13
global b
def func():
b = a % 10
func()
print(b)Look at the code below. Is it OK, or will it produce an error?
a = 13
global b
def func():
b = a % 10
func()
print(b)Create a free account to access the full topic