Multiple ChoiceIntermediate 30s
re.findall Groups
Choose the best answer for: regex groups in findall
Options
- 1findall ignores groups and returns only whole matches
- 2findall returns a dict of named groups to values
- 3findall returns tuples when pattern has groups
- 4findall always returns plain strings not tuples
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.