# Numpy array or list of random signs

Hi experts!

How can I obtain a numpy array or list of 'N'random signs? for example:

[1, -1, 1, 1 , -1, -1, 1 , 1, 1]

where N = 9.

Waiting for your answers.

Thanks a lot!