Level 1 : What will be the output of the following Python code?


m = re.search('a', 'The blue umbrella')
m.re.pattern

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