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