Level 7 : what is the output of the following code?


thistuple = ("apple", "banana", "cherry", "apple", "cherry")
print(thistuple)

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