Level 1 : What will be the output of the following code snippet?


def tester(**kwargs):
   for key, value in kwargs.items():
       print(key, value, end = " ")
tester(Sunday = 1, Monday = 2, Tuesday = 3, Wednesday = 4)

Author: SandhyaR | Tags: function | 1859+ Python FAQs | Share
list-method | async | comprehension | complex-number | error-handling | decorator | data_structure | global-keyword | functional-programming | aggregating-data-with-functools.reduce() | conditional-statement | encapsulation | defining-functions | lambda | datatype | integers | choice | data-structure | __all__-attribute | intering | dictionary-methods | default-arguments | comment | else | creating-and-starting-threads | conversion | lambda-function | file | generators | exception-handling | __future__ | format | goto-function | class | handling-missing-values-(fillna,-dropna) | __init_subclass__ | expand-tab | access-modifier | fabs-function | exception | docstring | call | conditional-statement | comparison | formal-and-actual-parameter | dataframe-and-series-objects | boolean | iterators | context-manager | inherit | arbitrary-arguments-(*args,-**kwargs) | expression | thread | type_conversion | function | multiple-inheritance | control-flow | sys-module | input | recursion | immutability | data-type | zip-function | staticmethod | membership-operators-(in,-not-in) | for | indentation | iterator | filter-function | name-mangling | file-handling | statement | module | list-vs-tuple | python_version | head-and-tail | slice | list-join | input-function | string-iteration | variable | static-method | pass | binary-operation | numeric | odd-number | mathematics | pseudocode | introduction-to-multiprocessing | formatting-with-strftime | installation | zfill-function | multiple-except-blocks | indexing | iterable | heap-memory | rollback | logical-operators | matplotlib | destructor | data-structure | built-in-function | generator | error-handling | list-comprehension | floats | identity-operator | string-methods | test-discovery | asyncio-module | round-function | reading-and-writing-files | bitwise-operator | quantifiers-(*,-+,-?,-{}) | operators | debugging | using-yield-in-functions | postfix | swapping | identity-operator | set | built-in-modules | loop-control | virtual-environment | memory-management | lambdas | writing:-write(),-writelines() | using-else-and-finally | precedence | advanced-file-operations | overflow | string-formatting | oop | math | methods | zip | turtle | floating-point-precision | data-types | single-inheritance | pickling--unpickling | max-min | matrix-list-comprehension | list-methods-and-slicing | collection | built-in | namespace | counter-function | working-with-dates-and-times | while-loops | slicing | data-type-conversions | sets | using-lists-as-stacks | syntax | nested-loop | list | lambda-functions | regular-expression | mapping-function | regular-expressions | dicts | exception-handling | application | else-statement | basic | strings | syntax-error | operator-overloading | python-module | data-structures | unit-testing | objects | scientific-notation | random-function | thread-synchronization | condition | center | interpreter | method | tuples | complex | python | python-django | string-slicing | thread-safe-data-structures-(queue.queue) | file_handling | threading | random | memory | multiprocessing | list-comprehension | introduction-to-threads | function-and-scope | control-statement | filter | constructor | feature | type-conversion | boolean-and-non-boolean | shallow-copy | string-formatting | virtual-environment | array | loops | data-type | reading-and-writing-large-files-efficiently | introduction-to-python | dictionary | yield | precedence-and-associativity | literal-characters-and-special-characters | boolean-masking | arithmetic-operation | gil | functional-programming | time-series-with-pandas | id-function | regex | using-assertions-(assertequal,-assertraises) | touples | working-with-binary-files-(rb,-wb) | creating-custom-modules | data-structures-in-python | update | lists | raise-statement | class-and-instance-variable | factorial-function | while-loop | escape-operator | benefit | decimal | function-argument | string | join | using-the-threading-module | implementation | using-join()-and-is_alive()-methods | dictionaries | managing-directories-with-os-and-shutil | split | bitwise | oops | logical-operator | compute | inheritance | numpy | package-management | dictionary-comprehensions | loop | asyncio | frozenset | exponentiation | control-flow | range | enumerate() | operator-and | software-design | list-slicing | key-value-pairs | functions | map-function | operator | library | immutable-data-type | namedtuple | filtering-and-indexing | conditional-statements | def | assert | python-syntax-and-structure | int | collections | sorted | matrix | list-operation | while-and-for-loop | assignment-operators | reading:-read(),-readline(),-readlines() | list-indexing | string-manipulation | operations | object-attribute | while-else-loop | datetime | integer | classes | identity-operators-(is,-is-not) | invalid-list | default-mutable-argument | import-method | binary | syntaxerror | operator-or | pep | polymorphism | logical-operation | directory-operations | higher-order-function | recurssion | copy | counter | sum() | datetime.date,-datetime.time,-datetime.datetime | descriptors | why-use-multiprocessing-over-threading?-(gil) | math-copysign | magic-method | assignment-operator | string-method | sorting-and-ranking | overriding-methods | class-and-inheritance | mathematical-function | return-statement | multithreading | sorting | difference-between-threads-and-processes | type-conversion | anchors-(^,-$) | operand | identifier | print-statement | arithmetic-expression | string-slicing | init | input-function | design-principle | encoding | keyword | global | version | min-function | using-os-and-pathlib-modules | opening-files-(open()) | min-max-function | deep-copy | method-overloading | pandas | bitwise-operator | list-mutation | logical-operator | parsing-with-strptime | using-map()-for-transformations | print | raise | indexing:-loc-vs-iloc | list-comprehensions | error | typeerror | attribute | python-operators | python-repl | parameter | append | set-operation | match | round | with-statement | joining-and-merging-dataframes | python-history | working-with-temporary-files-using-tempfile | class-decorators | built-in-function | tuple-unpacking | tuple-methods | mutable | multiple-inheritance | stack | class-and-object | loop-control-statements | tuple | working-with-file-paths | sum-function | type-conversion-and-casting | command-line-parsing | string-concatenation | file-handling | global-variable | version-check | list,-set,-and-dictionary-comprehensions | booleans | mysql | generators-in-python | sys | string-method | walking-through-directories-using-os.walk() | global-variable | syntax-error ...