๐ŸŽฏCapturing Groups & Named PatternsWORKSHOP
1
2
3
4
5

Step 1

Use `re.findall` with `r'\d+'` to extract all numbers from a string. The text contains a mix of integers and words. Print the list of extracted number strings, then also compute their sum by converting each to an integer.

โŒ˜ Enter (Mac) ยท Ctrl+Enter (Win/Linux)