AnsweredAssumed Answered

python error

Question asked by Kalssin on Mar 24, 2020
Latest reply on Mar 25, 2020 by Dan_Patterson

Hi~~

 

def Reclass(arg1, arg2):
    if arg1 in ["222", "333"]:
        return None
    else:
        return arg2

#code
Reclass(!NAME!, !PNAME!)

Please see why there is an error.

Outcomes