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