Do you mean any value between 0 and 180:
random(0, 181) or random(181)
Or do you want to pick either 0 or 180:
Generate a random float between a and b, including a but not including b.
choose(a, b [, c...])
Choose one of the given parameters at random. E.g. choose(1, 3, 9, 20) randomly picks one of the four numbers and returns that. This also works with strings, e.g. choose("Hello", "Hi") returns either Hello or Hi. Any number of parameters can be used as long as there are at least two.
I'd also advise you to check out System Expressions in the manual.