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