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