In the example below i would like to use the output from fun1 in fun2. I get an error stating x is not defined. This is something extremely simple but i just don't get it.
def fun1():
x = input('put here the value')
return x
fun1()
def fun2(x):
y = x + 2
print(y)