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

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