Setting variable equal to multiple options

Related to another post, but separate enough I thought I’d just ask a new question.
Below is a section of code I have. I have aN generating a random negative number and aP generating a random positive number. I want to see if I can get “a” to randomly pick to use either aN’s value or aP’s value each time it is loaded.

r = randomGenerator()
#coefficients and constants for binomial multiplication
aN = r.int(-100,-99)
aP = r.int(100,99)

a=

equation="(${a}x+8)"

Looks like you’re just trying to avoid zero:

a=numericValue("(-1)^${r.int(0,1)}*${r.int(1,10)}")

Awesome! That is it! Thank you for the help