Level 9 : Choose the correct option for the below code?


value = list("1234")
value[0]=value[1]=5
print(value)

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