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