can we use return outside function in 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"