https://hawassib.com/partial-functions-in-python/
Partial functions in Python