Level 5 : What will this print?


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

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