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 | 1736+ Python FAQs | Share
regex | multiple-inheritance | call | print-statement | mathematics | precedence | postfix | list-comprehension | multithreading | functions | feature | with-statement | access-modifier | matrix | tuple-unpacking | join | raise | __future__ | indentation | numpy | mysql | descriptors | fabs-function | python-history | random | import-method | sorting | operator-or | multiprocessing | return-statement | parameter | list-vs-tuple | yield | boolean-and-non-boolean | python-repl | formal-and-actual-parameter | loops | operations | head-and-tail | virtual-environment | decorator | function-argument | operator-overloading | input | static-method | escape-operator | class-and-inheritance | syntax-error | iterator | operator-and | global-variable | dictionaries | python_version | slice | object-attribute | staticmethod | recurssion | string-method | string-method | mathematical-function | operator | enumerate() | __init_subclass__ | operators | max-min | lists | immutability | type-conversion | integer | class-and-instance-variable | generators-in-python | regular-expression | lambda | python-module | virtual-environment | bitwise | compute | bitwise-operator | lambda-function | zip | round | list | memory-management | pseudocode | min-max-function | data-structures | data-structure | scientific-notation | pep | classes | command-line-parsing | identity-operator | id-function | data-type | swapping | built-in-function | list-method | functional-programming | generators | indexing | round-function | design-principle | arithmetic-operation | expression | collections | method | sum() | python | variable | string-manipulation | identifier | sum-function | logical-operator | filter | datatype | append | zip-function | choice | datetime | python-django | comprehension | package-management | namedtuple | while-else-loop | immutable-data-type | invalid-list | mutable | pickling-&-unpickling | math-copysign | conversion | application | debugging | version-check | oop | docstring | center | deep-copy | library | min-function | copy | encoding | while-loop | error | sys-module | list-operation | function-and-scope | file-handling | software-design | binary | array | module | set | objects | class-and-object | type-conversion | syntax | basic | interpreter | pandas | control-statement | arithmetic-expression | destructor | split | sys | list-slicing | inheritance | type_conversion | counter | format | set-operation | list-mutation | overflow | frozenset | binary-operation | default-mutable-argument | operand | installation | version | magic-method | attribute | global-keyword | input-function | update | assignment-operator | encapsulation | typeerror | data_structure | logical-operation | polymorphism | shallow-copy | generator | turtle | name-mangling | __all__-attribute | string-slicing | rollback | filter-function | numeric | function | heap-memory | oops | goto-function | global | complex | zfill-function | asyncio-module | complex-number | error-handling | sorted | bitwise-operator | context-manager | mapping-function | recursion | data-type | while-and-for-loop | range | asyncio | threading | precedence-and-associativity | exception | implementation | memory | input-function | methods | init | expand-tab | file-handling | keyword | slicing | else-statement | control-flow | exception-handling | loop | comparison | string-formatting | string-formatting | factorial-function | list-comprehension | assert | global-variable | print | def | counter-function | built-in | condition | matrix-list-comprehension | namespace | syntaxerror | async | file | odd-number | dictionary | loop-control | syntax-error | logical-operator | random-function | statement | match | int | conditional-statement | for | dicts | constructor | nested-loop | string | collection | gil | inherit | comment | identity-operator | lambdas | tuple | conditional-statement | list-indexing | iterable | map-function | built-in-function | string-concatenation | stack | benefit | decimal | string-iteration | thread | matplotlib | class | exponentiation | boolean | data-structure | math | list-join | floating-point-precision | file_handling | exception-handling | touples | string-slicing | higher-order-function | control-flow ...