how is return statement use python code example
Example 1: python return -1
def return_negative_one():
return -1
Example 2: python return function
#the return function is used to return a value from a function
def double(number):
return number * 2