ArcGIS Pro 2.8.4: The Python If statement fails to work,
In the screenshot below, I wanted to apply a simple if statement but fails to work and ends up with an error
-----
def Reclass(Confinement):
if Confinement == Confined:
return 1500
return 0
-----
What could be the issue here?
The data is attached

