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