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