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