Level 10 : What is the output of S[2] if S = [8,18,2]?

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