RealPython book example