DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
parameter name in string
def func(age): print(age) p_name = 'age' p_value = 33 p_dict = {p_name: p_value} func(**p_dict)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#parameter
#string
ADD COMMENT
Topic
COMMENT
Name
6+9 =
Submit