Today I learned how to use the dunder method __init_subclass__ to be notified when a class is subclassed.
__init_subclass__
Feel like exercising your brain? Have a go at one of the problems I have for you.