Nov-25-2020, 12:59 AM
Thanks for the answer I found my error and I used just this code:
for triplet in itertools.product([th2, th1], repeat=3): random_angles.append(triplet) for i in range (rep): choosen_triplet = random.choice(random_angles)