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