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