take single return from multiple return in python function code example
Example: python return array
def my_function():
result = []
#body of the function
return result
def my_function():
result = []
#body of the function
return result