Level 1 : What will this output?


lst = [0, 1, 2]
lst[lst[lst[0]]] = 99
print(lst)

Author: SandhyaR | Tags: list | 1736+ Python FAQs | Share
map-function | print | application | id-function | attribute | list-comprehension | raise | escape-operator | type-conversion | sys | constructor | default-mutable-argument | error | mapping-function | memory-management | update | heap-memory | return-statement | exception-handling | generator | generators | namespace | control-flow | mutable | join | keyword | access-modifier | comparison | implementation | head-and-tail | def | python-django | type_conversion | class | higher-order-function | method | pseudocode | multithreading | arithmetic-expression | slice | input | list-join | pickling-&-unpickling | list-method | call | match | loop | logical-operator | odd-number | boolean-and-non-boolean | filter-function | version-check | design-principle | identity-operator | math-copysign | regex | lambda | asyncio-module | encoding | expand-tab | encapsulation | multiple-inheritance | async | complex | data-structures | arithmetic-operation | global-keyword | operator-and | choice | immutable-data-type | module | loop-control | __init_subclass__ | list-mutation | bitwise | sys-module | expression | random-function | yield | syntax-error | generators-in-python | global-variable | staticmethod | destructor | debugging | recurssion | complex-number | memory | while-loop | rollback | list-vs-tuple | else-statement | function | frozenset | __future__ | operand | interpreter | string-formatting | counter | floating-point-precision | center | data-type | boolean | virtual-environment | tuple | data-structure | immutability | with-statement | operator | assignment-operator | data-type | indexing | assert | fabs-function | file-handling | sum-function | set-operation | comprehension | split | matrix | feature | loops | logical-operator | min-function | operator-or | class-and-instance-variable | static-method | counter-function | goto-function | datetime | format | formal-and-actual-parameter | global-variable | string-concatenation | math | decorator | touples | virtual-environment | __all__-attribute | stack | print-statement | typeerror | asyncio | input-function | set | mathematical-function | objects | comment | built-in-function | lambdas | round | logical-operation | import-method | object-attribute | sum() | type-conversion | docstring | conversion | scientific-notation | namedtuple | matrix-list-comprehension | string-method | library | list-indexing | slicing | turtle | statement | dicts | precedence-and-associativity | binary | inherit | enumerate() | gil | software-design | matplotlib | class-and-object | collections | function-argument | benefit | lists | magic-method | python-history | variable | package-management | condition | invalid-list | list | datatype | identifier | thread | operators | sorted | numeric | indentation | string-formatting | filter | integer | round-function | list-operation | max-min | function-and-scope | bitwise-operator | command-line-parsing | dictionaries | shallow-copy | global | postfix | exception | class-and-inheritance | append | dictionary | string | copy | string-slicing | file | python | syntax | iterator | mysql | precedence | name-mangling | sorting | exponentiation | built-in | binary-operation | oop | exception-handling | zip | python-repl | overflow | deep-copy | lambda-function | operations | built-in-function | input-function | mathematics | iterable | control-flow | random | syntaxerror | classes | range | collection | descriptors | inheritance | python_version | control-statement | polymorphism | pandas | min-max-function | version | factorial-function | syntax-error | oops | zfill-function | conditional-statement | functional-programming | operator-overloading | decimal | functions | installation | methods | string-method | conditional-statement | zip-function | context-manager | multiprocessing | file_handling | basic | list-slicing | while-and-for-loop | data-structure | string-slicing | bitwise-operator | string-iteration | compute | tuple-unpacking | python-module | recursion | identity-operator | pep | parameter | threading | int | while-else-loop | array | swapping | file-handling | regular-expression | error-handling | list-comprehension | for | numpy | init | string-manipulation | data_structure | nested-loop ...