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