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


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

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