How To Pass A Function Python