Level 1 : What will be the output of this code?


def func(*args):
    print(args)

func(1, 2, 3)

Author: bhavani | Tags: function | 1736+ Python FAQs | Share
list-vs-tuple | raise | built-in | sys | precedence | data_structure | assert | default-mutable-argument | application | multiprocessing | objects | split | method | pep | exception | parameter | lists | import-method | operators | round-function | object-attribute | string-slicing | generators | exception-handling | input-function | asyncio | debugging | indentation | int | logical-operation | filter-function | max-min | type-conversion | syntax-error | syntaxerror | arithmetic-operation | random | set-operation | collections | comprehension | decorator | math-copysign | lambda-function | mathematical-function | binary-operation | print | input-function | bitwise-operator | pickling-&-unpickling | dictionaries | polymorphism | name-mangling | library | global-variable | context-manager | yield | scientific-notation | python-repl | staticmethod | function-argument | math | tuple | destructor | class-and-instance-variable | list-operation | global-keyword | built-in-function | type_conversion | string-manipulation | python | installation | decimal | heap-memory | enumerate() | operator-overloading | file_handling | datetime | functional-programming | arithmetic-expression | regular-expression | gil | mutable | generators-in-python | lambdas | class-and-inheritance | postfix | multiple-inheritance | set | virtual-environment | string-slicing | exception-handling | descriptors | while-else-loop | head-and-tail | type-conversion | string | choice | statement | def | __future__ | file-handling | immutability | append | print-statement | __all__-attribute | deep-copy | regex | pseudocode | class-and-object | namedtuple | compute | static-method | methods | interpreter | expand-tab | fabs-function | list-comprehension | data-type | matplotlib | oops | operator-or | swapping | dicts | multithreading | conditional-statement | global | assignment-operator | asyncio-module | init | precedence-and-associativity | logical-operator | benefit | error-handling | control-statement | file-handling | mathematics | datatype | match | package-management | string-formatting | conversion | iterable | mysql | syntax-error | pandas | loop | while-and-for-loop | list-slicing | identity-operator | error | design-principle | rollback | array | formal-and-actual-parameter | boolean | turtle | function | numpy | operator | inheritance | update | sorting | loops | random-function | goto-function | async | factorial-function | matrix-list-comprehension | matrix | complex-number | magic-method | zip | counter | global-variable | basic | function-and-scope | built-in-function | functions | sum-function | constructor | data-structure | data-structure | conditional-statement | higher-order-function | with-statement | min-function | string-method | boolean-and-non-boolean | zfill-function | bitwise-operator | numeric | string-concatenation | frozenset | invalid-list | integer | list-join | version | version-check | input | oop | operator-and | syntax | attribute | condition | join | encoding | bitwise | immutable-data-type | encapsulation | list-method | range | string-iteration | command-line-parsing | __init_subclass__ | python-history | python_version | generator | return-statement | thread | zip-function | slicing | format | indexing | lambda | operations | control-flow | filter | module | keyword | threading | complex | loop-control | nested-loop | mapping-function | touples | data-structures | virtual-environment | python-module | class | memory-management | data-type | for | identity-operator | string-formatting | odd-number | string-method | variable | memory | inherit | recursion | comparison | tuple-unpacking | copy | list-comprehension | sum() | file | docstring | access-modifier | map-function | counter-function | control-flow | slice | feature | floating-point-precision | implementation | software-design | call | list | sorted | center | min-max-function | identifier | escape-operator | iterator | dictionary | else-statement | binary | classes | typeerror | exponentiation | round | overflow | collection | shallow-copy | operand | list-indexing | namespace | id-function | sys-module | while-loop | expression | list-mutation | recurssion | stack | comment | python-django | logical-operator ...