Accuracy Function Python Example Code Pdf