subject

6.5 Code Practice import simplegui

def draw_handler(canvas):
x = 150
y = 150
color = "RGB(0,0,0)"

canvas. draw_polygon([(300,400),(550,400),( 550,550),(300,550)],2,"Red")
canvas. draw_polygon([(275,400),(425,300),( 575,400)],2,"Red")
canvas. draw_polygon([(400,475),(400,550),( 450,550),(450,475)],2,"Green")

canvas. draw_polygon([(325,450),(325,500),( 375,500),(375,450)],2,"Blue")
canvas. draw_polygon([(525,450),(525,500),( 475,500),(475,450)],2,"Blue")
fram=simplegui. create_frame('House',600,600)

frame = simplegui. create_frame('Testing', 600, 600)
frame. set_canvas_background("Pink")
frame. set_draw_handler(draw_handler)
frame. start()


6.5 Code Practice

import simplegui
def draw_handler(canvas):
x = 150
y = 150
color = RGB(0,0,0)

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 07:30
Events and conditions that happen within an organization that are somewhat easier to deal with when responding to change are called
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
Lakendra finished working on her monthly report. in looking it over, she saw that it had large blocks of white space. what steps could lakendra take to reduce the amount of white space?
Answers: 3
question
Computers and Technology, 24.06.2019 19:30
Can someone who is skilled at coding create me a java chess game. don't copy from online source codes. make it original ! : d
Answers: 1
question
Computers and Technology, 25.06.2019 02:30
Technology has changed communications by replacing or supplementing traditional modes of communication that were primarily
Answers: 2
You know the right answer?
6.5 Code Practice import simplegui

def draw_handler(canvas):
x = 150
y = 15...
Questions
question
Mathematics, 27.09.2019 00:10
Questions on the website: 13722363