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 08:30
On the loan worksheet in cell c9 enter pmt function to calculate the monthly payment for the altamonte springs 2018 facilities loan. ensure that the function returns a positive value and set the reference to cells b5 and b6 as absolute references.
Answers: 2
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. what does it indicate when a website displays https instead of http? a. the website is secure. b. there is no secure sockets layer. c. the secure sockets layer is hidden. d. the website is not secure.
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
What are loans to a company or government for a set amount of time
Answers: 1
question
Computers and Technology, 24.06.2019 15:00
When a presentation is being planned, it is important to ensure that it covers all available information. appeals to the audience. uses multimedia tools. entertains the audience.
Answers: 1
You know the right answer?
6.5 Code Practice import simplegui

def draw_handler(canvas):
x = 150
y = 15...
Questions
question
Mathematics, 26.08.2019 14:50
Questions on the website: 13722367