1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Pachacha [2.7K]
3 years ago
14

Edhesive code practice 6.3

Computers and Technology
2 answers:
Nikitich [7]3 years ago
7 0

Answer:

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()

Just copy and paste the code (i got a 100 on edhesive)

Deffense [45]3 years ago
4 0

Answer:

Question 1

1 / 1 pts

For Questions 1-4 below, use the following image of a coordinate plane.

The coordinate (0, 0) on this coordinate plane is located at point:

 B

Question 2

The coordinate (6, 4) on this coordinate plane is located at point

 C

Question 3

1 / 1 pts

The coordinate (2, 8) on this coordinate plane is located at point:

 A

Question 4

1 / 1 pts

The coordinate (8, 2) on this coordinate plane is located at point:

 D

Question 5

1 / 1 pts

The ____________ keyword is used to create a function.

 def

Question 6

1 / 1 pts

The create_frame function creates the frame that holds the drawing.

Explanation:hope it helps

You might be interested in
You are installing an updated driver for a hardware device on your system. A dialog box displays indicating that Microsoft has d
inessss [21]

Answer:

It means the driver has been tested by Microsoft, and its an unaltered file.

Explanation:

A signed driver ensures that comes directly from Microsoft, it hasn't been modified by any other group or otherwise would lose the signature,  the driver is associated with a digital certificate that allows Windows to test its authenticity.

Since drivers work at very high-security levels on Windows OS, installing unsigned drivers it's a considerable risk.

7 0
3 years ago
How to know your pc does not have bluetooth?
sattari [20]
Assuming you're running Windows, click the start button, and then search for "Device Manager" (or open CMD or PowerShell and type devmgmt.msc). Look at the list of devices. If Bluetooth is there, you have it; if it's not there, you don't. 
4 0
3 years ago
According to our definition in this class, computers are define
mario62 [17]

se definen como un medio de estudio en estos momentos de cuarentena

en la que nos ayuda a sentirnos mas cerca de las clases  

5 0
3 years ago
What are the six things you will learn this week on Scratch?
notka56 [123]

Answer:

1 You can learn to draw

2 You can learn to code

3 You can learn to make a thumbnail

4 You can learn how to follow yourself

5 You can learn  to remix your own projects

6 You can learn how to make a featured project you've never shared

Explanation:

8 0
3 years ago
What are face shields intended to protect you from? (select best answer?
aivan3 [116]
Well it determends if there wearing them for sports or for fighting 
if it is for sports then they are protected from balls and such
if it is for fighting then they are protected from bullets arrows and anything else you could think of
they are used to shield your face
8 0
3 years ago
Read 2 more answers
Other questions:
  • In Word, how can you tell when text is selected?
    8·1 answer
  • You are using a wireless client adapter with a site survey utility and a notebook computer to perform a manual site survey in a
    7·1 answer
  • Here is free points im leaving
    11·2 answers
  • Which computer specifications would be best suited for the following scenario? The marketing department wants to buy two new com
    14·1 answer
  • Write the definition of a method, oddsMatchEvens, whose two parameters are arrays of integers of equal size. The size of each ar
    10·1 answer
  • After you have created at least four slides, a scroll bar containing scroll arrows and scroll boxes will appear on the right edg
    9·1 answer
  • Does Brainly have tutors?
    11·1 answer
  • the moon is about 240,000 miles from the earth what is this distance whitten as a whole number multiplied by the power of ten
    10·1 answer
  • Write a java program to input the corresponding data to print the result of the following expression
    9·1 answer
  • Why do you need to learn about engineering and technology.
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!