Level 6 : given s= 'Hello. How are you?' , which of the following expression will return 'How'?

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