πŸ“Š Python
Q. What does `re.findall()` return?
  • (A) A list of matches
  • (B) A single match
  • (C) A match object
  • (D) Boolean value
πŸ’¬ Discuss
βœ… Correct Answer: (A) A list of matches

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

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
54
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
85%
Success Rate