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