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