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