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