import random

print([random.uniform(-1, 1) for _ in range(20)])

#https://pt.stackoverflow.com/q/345368/101