def Reclass( !LUCode!): if ( !LU_2005! = "AG") return "Pasture" if ( !LU_2005! = "ST") return "Urban"
Reclass(!LUCode!, !LU_2005!)
def Reclass(LUCode, LU_2005): if LU_2005 == "AG": return "Pasture" elif LU_2005! == "ST": return "Urban" else: return "???"