what is the python expression for defining a range of numbers?
I have tried numerous combinations but cannot get a simple range of angles (100 -200) to compute correctly.
Screen shot :
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
if !ET_Angle! > 100 and !ET_Angle! < 200
To be more complete, put this in the codeblock:
def LeftOrRight(value): if value > 100 and value < 200: return "LEFT" else: return "RIGHT"
And in the calculation area, just put: