Level 10 : What will be the output of the following Python code?


>>> a=(2,3,4)
>>> sum(a,3)

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