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