I don't know a whole lot about python and scripting, so I was hoping somebody could give me a couple pointers on fixing some python. I am trying to calculate a "final results" attribute field. The field type is numeric, because I want the values to either be a 1 (pass) or 0 (fail). I have attached 2 variations of the code I have tried, but they both give me errors. The two fields I am trying to calculate from are both text fields, and the values for both are either "PASS" or "FAIL."
I know that this should be a simple task, but like I said I am very very new to python. Any help or pointers would be much appreciated.