Level 10 : What does *args allow you to do in a function?

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