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