DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python create a function with optional parameter
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:
#python
#create
#function
#optional
#parameter
ADD COMMENT
Topic
COMMENT
Name
8+4 =
Submit