Modular Coding Practices In Python A Function