OK, I must be missing something, this seems like it should be pretty simple.

What I would like to do is take in A (angle value), test if it is between zero and 180 or 180 and 360 in order to determine which values I want the node to output, X or -X. if the angle is 0, 180 or 360 I want a different Y set of values.

A will be a single value, X and Y are lists of values.

Please see python code:

```
import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *
#The inputs to this node will be stored as a list in the IN variables.
dataEnteringNode = IN
A = IN[0]
X = IN[1]
Y = IN[2]
Return = []
if A>0 & A<180:
Return = X
elif A>180 & A<360:
Return = -X
else:
Return = Y
#Assign your output to the OUT variable.
OUT = Return
```

I keep getting error:

TypeError: unsupported operand type(s) for &: ‘int’ and ‘list’