use value from fucntion outside python code example
Example: python return outside function
def function(argument):
return "something"
print function("foo") #prints "something"
def function(argument):
return "something"
print function("foo") #prints "something"