Menu

[solved] – Question 98176

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.

Expert Answer


OR


Leave a Reply

Your email address will not be published. Required fields are marked *