Here is the basic graphics framework you should work on:
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()
Write a program to draw 1000 random points on a frame.
Challenge: Get the points to be in random colors.
Please fix the following input errors: