Computers and Technology
You should see the following code in your programming environment:import simpleguidef draw_handler(canvas): # your code goes hereframe = simplegui.create_frame('Testing', 600, 600)frame.set_canvas_background("Black")frame.set_draw_handler(draw_handler)frame.start()Use the code above to write a program that, when run, draws 1000 points at random locations on a frame as it runs. For an added challenge, have the 1000 points be randomly red, green, or blue.Hint: The colors can be represented by Red: RGB(255, 0, 0)Green: RGB(0, 255, 0)Blue: RGB(0, 0, 255)