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

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