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

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