Quiz Catalog

Catalog of quizzes

def func():
  pass

print(func())
None
  • function

def func(**kwargs):
  return kwargs

test = func(a=1, b=2, c=3)

print(test)
{'a': 1, 'c': 3, 'b': 2}
  • function
  • build-in/dict

def func(**kwargs):
  return kwargs

print(func())
{}
  • function
  • build-in/dict

def func(*args):
  return args

test = func(1, 2, 3, 'abc')

print(test)
(1, 2, 3, 'abc')
  • function
  • build-in/tuple

def func(*args):
  return args
  
print(func())
()
  • function
  • build-in/tuple