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