DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
optional arguments python
def some_function (self, a, b, c, d = None, e = None, f = None, g = None, h = None): #code
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#optional
#arguments
#python
ADD COMMENT
Topic
COMMENT
Name
9+8 =
Submit