Level 1 : Select the output of the following code?


def numbers(a, b=20):
    print(a, b)

numbers(a=10, b=25)

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