Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Kwargs in python

def tester(**kwargs):
   for key, value in kwargs.items():
       print(key, value, end = " ")
tester(Sunday = 1, Monday = 2, Tuesday = 3, Wednesday = 4)
Source by www.interviewbit.com #
 
PREVIOUS NEXT
Tagged: #Kwargs #python
ADD COMMENT
Topic
Name
1+1 =