M

Mr. Dubey • 100.28K Points
Coach

Q. What does `re.findall()` return?

  • (A) A list of matches
  • (B) A single match
  • (C) A match object
  • (D) Boolean value
  • Correct Answer - Option(A)
  • Views: 23
  • Filed under category Python

Explanation by: Mr. Dubey
`re.findall()` returns all non-overlapping matches of pattern in string as a list.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics