6.5 Code Practice
import simplegui
def draw_handler(canvas):
x = 150
<...
Computers and Technology, 18.03.2021 01:50 HarryPotterhead7
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()
Answers: 1
Computers and Technology, 22.06.2019 15:00, miracle9704
Atool that matches persoal skills qualities interests and talets to a career is called a
Answers: 1
Computers and Technology, 22.06.2019 23:30, TheBurntToast
What is the digital revolution and how did it change society? what are the benefits of digital media?
Answers: 1
Computers and Technology, 30.09.2019 14:10
Biology, 30.09.2019 14:10
Mathematics, 30.09.2019 14:10
Geography, 30.09.2019 14:10
Mathematics, 30.09.2019 14:10
Business, 30.09.2019 14:10
Mathematics, 30.09.2019 14:10