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