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