Finding all occurrences of a pattern
We'll cover the following...
We'll cover the following...
The first thing this alphametics solver does is find all the letters (A–Z) in the puzzle.
① The re module is Python’s implementation of regular expressions. It has a nifty function called findall() which takes a regular expression pattern and a string, and finds all occurrences of ...