6.5 Code Practice
import simplegui
def draw_handler(canvas):
x = 150
y = 15...
![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 26.02.2021 21:40 schnefai000
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()
![ansver](/tpl/images/cats/User.png)
Answers: 3
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 21.06.2019 19:30
Keep your choice of a major there is probably no single correct choice.
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 05:30
Sally is editing her science report about living things. she needs to copy a paragraph from her original report. order the steps sally needs to do to copy the text to her new document.
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 07:30
Write a program that inserts the digits of an integer into an array in originalorderfollowed by reverse order. first, promptthe user to enter a positive integer(> 0). determine the number of digits of the integer. create a dynamically allocated integer arrayof a size twice the number of digits.now insert the digits in original order which will occupy half of the array. then, insert the digits in reverse order.finally, output thedigits in thearray.use at least two functions to organize your program.
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 08:00
Match the items with their respective descriptions.
Answers: 1
You know the right answer?
Questions
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 21.04.2021 23:20
![question](/tpl/images/cats/istoriya.png)
History, 21.04.2021 23:20
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 21.04.2021 23:20
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 21.04.2021 23:20
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/obshestvoznanie.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 21.04.2021 23:20
![question](/tpl/images/cats/mat.png)
Mathematics, 21.04.2021 23:20
![question](/tpl/images/cats/geografiya.png)