Level 10 : Which is the correct way to access a character "S" from the below string? str = "My name is Sandhya"

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