Computers and Technology, 18.02.2021 17:50 escojo2508
Edhesive 6.1 Code Practice
Copy and paste the following code into the programming environment below and work through the exercises.
import simplegui
import random
frameWidth = 500
def draw_handler(canvas):
for i in range (1, 3000):
r = random. randint(0,255)
g = random. randint(0,255)
b = random. randint(0,255)
randRGBColor = "RGB( " + str(r) + "," + str(g) + "," + str(b) + ")"
backg = "RGB( " + str(255) + "," + str(255) + "," + str(255) + ")"
x = random. randint(2, frameWidth)
y = random. randint(2, frameWidth)
canvas. draw_point((x, y), randRGBColor)
frame. set_canvas_background(backg)
frame = simplegui. create_frame('Howdy - I love this program', frameWidth, frameWidth)
frame. set_draw_handler(draw_handler)
frame. start()
Answers: 3
Computers and Technology, 23.06.2019 09:00
Which is the highest level of the hierarchy of needs model? a. humanity b. intrapersonal c. team d. interpersonal
Answers: 1
Computers and Technology, 24.06.2019 07:30
John recently worked on a project about various programming languages. he learned that though procedural language programs are useful, they have disadvantages too. what is a disadvantage of programs written in procedural languages? a. programs do not represent data complexity. b. programs take more time to execute. c. programs are prone to security threats. d. programs do not interface with multiple platforms.
Answers: 3
Computers and Technology, 24.06.2019 13:50
What does code do? a creates a text box that says "solid black" b creates a black border of any width c creates a black border 1 pixel wide
Answers: 1
Computers and Technology, 24.06.2019 21:40
is on drugs i swear i ask a question and its not showing whats going
Answers: 2
Edhesive 6.1 Code Practice
Copy and paste the following code into the programming environment below...
Social Studies, 21.06.2019 12:30
Mathematics, 21.06.2019 12:30
Computers and Technology, 21.06.2019 12:30