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