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