fortnitegameplayz900 fortnitegameplayz900
  • 09-03-2021
  • Computers and Technology
contestada

does anybody know how to do 6.3 code practice on edhesive. NEED ASAP!!!​

Respuesta :

EthanT05
EthanT05 EthanT05
  • 09-03-2021

Answer:

Hopes this helps if not comment and I'll change it

Explanation:

import simplegui

import random

def draw_handler(canvas):

for i in range (0, 1000):

x = random.randint(1, 600)

y = random.randint(1, 600)

r = random.randint(0, 255)

g = random.randint(0, 255)

b = random.randint(0, 255)

color = "RGB( " + str(r) + "," + str(g) + "," + str(b) + ")"

canvas.draw_point((x, y), color)

frame = simplegui.create_frame('Points', 600, 600)

frame.set_canvas_background("Black")

frame.set_draw_handler(draw_handler)

frame.start()

Answer Link

Otras preguntas

50 POINTS AND BRANIEST!!! PLS HELP!
What’s the definition of influenza
Kenny ordered guitar strings for Glenn’s Guitar Shop. The premium guitar strings are $4.50 apiece. The standard guitar strings are $1.50 apiece. The bill smeare
What is 4w + 3 = -7 equaled to
Ana feels that listening to music at night helps her to sleep. Should Jana listen to music the night before a test?
What occurred after the Spanish introduced the horse to North America? A. Pacific Northwest Indians were able to drive the Spanish off their lands. B. Plains
How do you solve: Y=-x-3y
A Good Setting for a Fable about Racism. (This should get your attention). This is going to sound weird, but I need help on finding a good setting for making a
x^4=48[tex] {x}^{4} = 48[/tex]
A length of string that is 22 ft long is being cut into pieces that are 1/3 ft long. How many pieces will there be?