A sample of the Python code I'm working on