Get even and uneven numbers

Hello
I guess my question is very trivial, nevertheless I’m puzzled how to sort even from uneven numbers in a list of random numbers
:rolleyes:
My guess is, to :

Set n to 3
Set rem1 to n-1
Set dif to n/rem1

Now I get 1.5, which isn’t a whole number (1). What’s next? :lol:

Hi.

n mod 2 is 0 if n is even, or 1 if n is odd.