Accuracy Function Python Syntax And Semantics Difference