Level 1 : What is the output for the below code?


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

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