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