Accuracy Function Python Syntax Rules C