DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
return multiple values from a function python
def operate(a, b): sum = a + b diff = a - b mul = a * b div = a / b return sum, diff, mul, div
Source by www.codingem.com #
PREVIOUS
NEXT
Tagged:
#return
#multiple
#values
#function
#python
ADD COMMENT
Topic
COMMENT
Name
7+5 =
Submit