Accuracy Function Python Example For Practice