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