Level 10 : Select the correct output of the following code?


def names(*args):
    for i in args:
        print(i)

names(aa = 'anvitha', bb= 'sandhya')

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