Level 10 : What is the output of the following python code


tuple=(1,2,3,4,5)
tuple.append((5,6,7))
print(len(my_tuple))

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