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