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