Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

In pure python:

import random
[(-1)**random.randint(0,1) for i in range(9)]