Tone randomization

Hello all.

I was looking for some help with presenting tone stimuli at different designated times (that I choose) during each loop. Psychopy does not present a clear way of manually setting different times for different loops, would anyone be able to help with this utilizing the code function?