If $x$ is an element of the set $\{ -1, 1, 2 \}$ and $y$ is an element of $\{ -2, -1, 0, 1, 2 \}$, how many distinct values of $x^y$ are positive?
HELLO?
a=listforeach(n, (-1, 1, 2), listforeach(m,(-2, -1, 0, 1, 2),(n^m));print sort(a),"Total =>>", count a
(-1, -1, 0.25, 0.5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 4) Total =>> 15
I count 5 distinct positive values [0.25, 0.5, 1, 2, 4]