DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
args in python
def add(*args): total = 0 for i in args: total += i return total print(add(5,5,10))
PREVIOUS
NEXT
Tagged:
#args
#python
ADD COMMENT
Topic
COMMENT
Name
2+4 =
Submit