I'm getting an error in Python when executing script:
Python syntax error: Parsing error SyntaxError: unexpected character after line continuation character (line 1)
arcpy.CalculateField_management(Applicants, "UGA_Flag", "UGAFlag(!UGA_Flag!, !PER_Area!)", "PYTHON_9.3", "def UGAFlag(UGA_Flag, PER_Area):\\n if PER_Area < 0.05:\\n return \"Outside (<5%) of Urban Growth Area\"\\n elif PER_Area > 0.95:\\n return \"Mostly (>95%) within Urban Growth Area\"\\n else:\\n return \"Partially within Urban Growth Area\"")
I've searched for explanations and I understand that it likely has to do with backslash vs forwardslash. I ran this script in January without an issue (I was using 10.5.1 desktop with same version of python).
Any helpful explanation is greatly appreciated.