So lets say I have two functions called func1 and func2
def func1():
a=1
return a
def func2():
b=2
return b
def func3():
x=a+b
return x
func3()
Now calling func3 returns error. Where is the problem? I have just started learning python and can't seem to solve the problem.