Random bits of Python code for practice.