Level 9 : Choose the correct option for the below code.


x = [10, 20]
x = y
y += [30, 40]
print(a)

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