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