Level 5 : What will this print?


x = [1, 2, 3]
y = x
del x
print(y)

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