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