Level 9 : What does the following code produce?


t1 = (1, 2)
t2 = (t1, 3)
print(t2)

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