Randomize target and cue position in posner task

OS (Win10):
PsychoPy version (1.84.x):
Hello every body
I am trying to build an “inhibition of return” task. In this task I need cue and target appear randomly on the left and right side of the screen. but I don’t know how to set random position for the images.
I would be really thankful if anybody could help

For such fundamental questions, you should probably start with some basic PsychoPy tutorials online:

or look at this Builder textbook:

https://books.google.co.nz/books?id=LbZBDwAAQBAJ&pg=PT92&lpg=PT92&dq=psychopy+posner+task&source=bl&ots=T_oP9wOpxQ&sig=ACfU3U3YdUgkUdbJZcDNpc0yxSV7kXjKyA&hl=en&sa=X&ved=2ahUKEwiX7bX9x9blAhXF7XMBHbfeC_YQ6AEwCnoECAkQAQ#v=onepage&q=psychopy%20posner%20task&f=false