๐ŸŽฏCapturing Groups & Named PatternsWORKSHOP
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.

Ctrl+Enter to run