Python return statement

84 Views
Published
Python return statement tutorial explained

#python #return #statement

#return statement = Functions send Python values/objects back to the caller.
# These values/objects are known as the function’s return value

def multiply(number1,number2):
return number1 * number2

x = multiply(6,8)

print(x)

––––––––––––––––––––––––––––––
Up In My Jam (All Of A Sudden) by - Kubbi https://soundcloud.com/kubbi
Creative Commons — Attribution-ShareAlike 3.0 Unported— CC BY-SA 3.0
Free Download / Stream: http://bit.ly/2JnDfCE
Music promoted by Audio Library https://youtu.be/tDexBj46oNI
––––––––––––––––––––––––––––––
Category
Bro Code
Tags
python return, return python, python return statement
Be the first to comment