edhesive 6.3 code practice


import simplegui



def draw_handler(canvas):


# your code goes here



frame = 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 in different, random colors.