Level 10 : What is the output for the below


x = [4, 5, 6]
y = x
print( x is y, x==y)

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