The last time I was surprised was the itertools library.
Also check https://pymotw.com/3/. It's a great tour of the Python standard library
>>> pow(5, -1, 13) 8 >>> 5 * 8 % 13 1
The last time I was surprised was the itertools library.