6.3 code practice edhisive

You should see the following code in your programming environment:

Import simplegui

Def draw_handler(canvas):
# your code goes here

Frame = simplegui.creat_frame(‘Testing’ , 600, 600)
Frame.set_canvas_background(“Black”)
Frame.set_draw_handler(draw_handler)
Frame.start()

Use the code above to write a program that, when run, draws 1000 points at random locations on a frame as it runs. For an added challenge, have the 1000 points be in different, random colors.

Answers

Answer 1

Answer:

import simplegui

import random

def draw_handler(canvas):

for x in range(1000):

colorList = ["Yellow", "Red", "Purple", "White", "Green", "Blue", "Pink", "Orange"]

c = random.choice(colorList)

x = random.randint(1,600)

y = random.randint(1,600)

canvas.draw_point([x, y], c)

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

frame.set_canvas_background("Black")

frame.set_draw_handler(draw_handler)

frame.start()

Explanation:

I used a for loop, setting my range to 1000 which is how you create exactly 1000 points. Next, I defined my color array, my x randint value, and my y randint value. I set both the x and y randint values to 1 - 600 since the frame is 600x600. The rest is pretty self explanatory.


Related Questions

8. Why is it important not to download pictures to your school or workplace network if you do not plan to use them?

Answers

Answer:

not appropriate use of technology.

Explanation:

A qué escala está dibujado el plano del Instituto si sabemos que la puerta principal de entrada tiene un ancho 3,40 metros y en el plano hemos medido con la regla 68mm

Answers

Answer:

[tex]\dfrac{1}{50}[/tex]

Explanation:

[tex]3.4\ \text{m}[/tex] es equivalente a

[tex]68\ \text{mm}[/tex]

[tex]=68\times 10^{-3}\ \text{m}[/tex] en el plan.

[tex]1\ \text{m}[/tex] del plan es equivalente a

[tex]\dfrac{68\times 10^{-3}}{3.4}[/tex]

[tex]=\dfrac{1}{50}[/tex]

Esto significa que el plan es [tex]\dfrac{1}{50}^{\text{th}}[/tex] de la dimensión real.

Por lo tanto, la escala del plan es [tex]\dfrac{1}{50}[/tex]

An author’s qualifications are important in determining whether a media source is...

credible.
relevant.
valid.
copyrighted.

Answers

Answer:

An author's qualifications are important in determining whether a media source is;

Credible

Explanation:

In order to find out about the credibility of an author, the preface, forward, and or introduction including the book's back cover should be checked for the author's credentials, qualifications and areas where the author is an expert

The author's credential can also be checked by finding out about other books the author has written and also about the author's biography.

Answer:

a) credible.

Explanation:

30 POINTS, ON A TIMER HELP ASAP

your answer will be removed if you steal my points!!

The history of the Internet dates back to the 1960s, when a group of scientists at Stanford University were entrusted to design which of the following as part of the competition between the US and its then Cold War enemy, the USSR?


a network of sophisticated computers

a mainframe to siphon information

a computer to control weapons

a super computer for the US government

Answers

b is not the answer

for c the goverment  dont  need a comptor to control weopons they have a briefase.      

for a it dont  make sense in that time

so it d pls mark barinliest    

hey plz help me with this
What is malware short for?​

Answers

Answer:

Malware is the collective name for a number of malicious software variants, including viruses, ransomware and spyware. Shorthand for malicious software, malware typically consists of code developed by cyberattackers.

Explanation:

How can you reduce the Impact of Hacking? 
pls help with this <3​

Answers

Answer:

Explanation:

To reduce the impact of hacking firstly dont ever give anyone your PASSWORD even to ur friends coz one day they can snake u off and use ur personal email/accounts.Try to use websites which are protected from hackers and anti-virus.Never use your personal details if u do make sure u write the user/password in a save place and LOG OUT your accounts when ur not using them.If u have a child you should install i child protecting apps.And make sure you block all anonymous websites/browsers/apps.Dont leave personal information on websites just to stay on the safe side.

Hope this helps

Choose the correct answer

Answers

that is the wrong answer the correct answer is textbox

Text box is the answer

Click this link to view O*NET's Skills section for Biomedical Engineers. Note that common skills are listed toward the top and less common skills are listed toward the bottom. According to O*NET, what are some common skills needed by Biomedical Engineers? Check all that apply. fine arts science complex problem solving critical thinking judgment and decision making building and construction

Answers

Answer:

Science

complex problem solving

critical thinking

judgment and decision making

Explanation:

im on endunety

Science, complex problem-solving, critical thinking and judgment and decision-making are some common skills needed by Biomedical Engineers. Hence, option B, C, D, and E are correct.

What is Biomedical Engineers?


In order to create new tools and machinery for enhancing human health, biomedical engineers concentrate on developments in technology and medicine. For instance, they might create computer simulations to evaluate new pharmacological regimens or software to run medical equipment.

One of the engineering fields with the highest growth is the relatively young field of biomedical engineering. The demand for qualified biomedical engineers to fill the gap created by technological breakthroughs and the desire for more advanced, creative healthcare is on the rise. The greatest engineering jobs list places biomedical engineering at number five.

Biomedical engineering is one of the most challenging engineering disciplines because it involves a lot of chemistry and biology coursework. While many engineering majors concentrate on physics, this one demands considerably more.

Thus, option B, C, D, and E are correct.

For more information about Biomedical Engineers, click here:

https://brainly.com/question/11617187

#SPJ5

Which organization publishes a handbook that describes various occupations? U.S. Department of Defense U.S. Department of Agriculture U.S. Bureau of Labor Statistics U.S. Bureau of Economic Analysis

Answers

Answer:

U.S. Bureau of Labor Statistics.

Explanation:

The Bureau of Labor Statistics is a unit of the United States Department of Labor assigned with the task of fact-finding in the field of labor and statistics for the government. The agency helps measure the labor activity in the market and evaluates all forms of activity regarding labor conditions for the government.

This agency also functions or serves as the principal agency for the United States Federal Statistical System. It not only collects information or data but also helps spread the said information to the government. It also published a biennial handbook describing various occupations.

Answer:

C

Explanation:

Which group contains the command to manually conduct a spell check ?

Answers

Answer:To check spelling in a Word document, open up the document, head to the “Review” tab, then click on “Spelling & Grammar” (part of the “Proofing” group of tools). Then a window will appear showing the first word the program believes to be misspelled. Click through the options to review the whole document.

Explanation:Hope this helped u out btw can i plz have brainlist only if u wanna give me brainlist though have an great day kind sir or ma'am!

The advancements in which of the following technologies has most changed the American job market in recent years?

A.

computer and Internet

B.

manufacturing

C.

transportation

D.

health care
a thousand people on here and no answer

Answers

Answer:

I think its A but not 100% sure

What educational site could I make a screen capture tutorial on? I need ideas for a school project.

Answers

You Need Software To Screen Capture

The Software You can use is OBS its free and there are watermarks

How do I find a back door password on my computer?

Answers

Answer: It depends what you mean by "backdoor" if you mean "how do I change my password", than use cmd.

Explanation:

CMD (also known as Command Prompt) is a very powerful program used for Windows (assuming your using a windows). To change or disable any account on your computer use the following commands...

Change Password: net user <username> <password>

PRESS ENTER

Disable/Enable an account: net user <username> /active:<yes/no>

Be aware that if you disable all accounts on your computer you will not be able to access your computer. So use this command with caution. Should you decide to use command prompt, and you cannot gain access to an account, just go into recovery mode, and turn an unactive account active. Should you lose a password to your account, the recovery mode for your computer can work with this too.

If this does not answer your question, please let me know, and I will help you out.

Remember that there is no true way to protect your account without downloading 3rd-party programs that monitor your computer. But using cmd if someone gains access to your account, will always work. This will also allow you to gain access to the built-in Administrator account that if you have any problems on your main account, the built-in Administrator account should be used to fix any said issues.

Differentiate Between
Master file and transaction file

Answers

Master file contains records of permanent data types and transaction files contains data which is used to update the records of master file for example address of the costumer etc.

float('3.66') converts the string "3.5" to a float. Which statement is true? You need to import the float() method from the math module. When you first open IDLE, you can use the float() function. You need to import float() from the random module. There is no float() function. You need to write your own.

Answers

Answer:

When you first open IDLE, you can use the float() function

Explanation:

i bellive this is the rigtht anser but i am not 100%

Lucy was bucking for a promotion. She paid careful attention to the e-mails she sent out to make sure they did not violate netiquette guidelines. All the items below describe something she should do when using e-mail except_____.

pls help me i know somone did this

Include lots of exclamation marks to get your point across.


Use a relevant subject line.


Include a signature.


Use spell check in addition to proofreading to reduce mistakes.

Answers

Answer: Include lots of exclamation marks to get your point across

Explanation:

When sending an e-mail, we should note that the subject line that should be used should be relevant with regards to the message being passed.

A spell check is also vital in order to reduce mistakes. The use of many exclamation is wrong. That's not professional and should be avoided.

_____ includes the technologies used to support virtual communities and the sharing of content. 1. social media 2.streaming 3. game-based learning

Answers

Answer: it’s A, social media

Explanation:

Social media are interactive digital channels that enable the production and exchange of information. The correct option is 1.

What is Social Media?

Social media are interactive digital channels that enable the production and exchange of information, ideas, hobbies, and other kinds of expression via virtual communities and networks.

Social media includes the technologies used to support virtual communities and the sharing of content.

Hence, the correct option is 1.

Learn more about Social Media:

https://brainly.com/question/18958181

#SPJ2

Anna is concerned about the lack of communication among the members of her team. Which risk can result from a lack of communication within a team?

______ risk can result from a lack of communication within a team.


The answer is Operational

PLATO

Answers

Answer:

The appropriate approach is "Operational".

Explanation:

Operational risk pretty much sums up the complexities and challenges that an organization operates when something intends to carry out its daily operations business operations throughout a provided field of work. The whole risk could sometimes be categorized here as the number of different risks that are specific to a particular market or organization.

what is a good site to do an educational screen capture tutorial?

Answers

You will need a Application/Software To Screen Capture

I suggest Using OBS

Complete the following sentence.

Tony ___________ is considered an expert in the field of mind mapping.

Answers

Answer:

The answer is Buzan.

Answer:

Buzan

Explanation:


Bill is pushing a box with 10 N of force to the left, while Alice is pushing the box with 30 N of force to the right. What is the
net force?

Answers

Answer:

Net force = 20 N

Explanation:

Given that,

Force acting on the left = 10 N

Force acting on the right = 30 N

Let right side is positive and left side is negative. Let the net force acting on the box is F. So,

F = -10+30

F = 20 N

So, the net force on the box is 20 N and it is in right side.

Select the correct answer from each drop-down menu.
A multimedia company wants to implement virtualization on machines with no host operating system. Which type of hypervisor should they
use?
The multimedia company should use a(n)
_______ hypervisor. This hypervisor is installed
__________

Answers

Answer:

1. Bare-metal hypervisor

2. top of a physical server

Explanation:

The multimedia company should use a(n) " BARE-METAL" Hypervisor. This hypervisor is installed "top of a physical server"

The bare-Metal hypervisor is often known as the Type 1 hypervisor. It is characterized by good performance and strength.

Also, this type 1 hypervisors is considered to be the operating system on its own.

Hence, in this case, the correct answer to the question is:

1. Bare-metal hypervisor

2. top of a physical server

Answer:

1.)TYPE 1  2.) Directly on the machine. :) I got the answer right!

Explanation:

1. Which of the following is true about social media content? D. Once the content is published, it is very difficult to edit or correct it. O C. The tools to create social media content are not easily accessible. B. It can be user-generated and shared by many people. D A It is only created and distributed by the publisher​

Answers

Answer:

B. It can be used-generated and shared by many people.

It can be user-generated and shared by many people, is true about social media content. Thus, option (b) is correct.

What is social media?

Social media is a term used to describe online communication. Social media systems enable users to have discussions, exchange information, and create content for the internet. Social media mostly used in the youth. The social media are to share the information quickly.

Social media re to share the content are the user generated and the share by the many people. The social media are the share the news and the information to the quickly, but sometimes share the information is fake, the audience are the trust. The social media are the opinion to share with everyone. It's the medium of the communication.

Therefore, option (b) is correct.

Learn more about on social media, here:

https://brainly.com/question/24687421

#SPJ2

who invented the computer?
when was it made?
can u tell me the name of the oldest computer?
when did the first laptop come out?

Answers

The computer was invented by Charles Babbage 15 February 1946Antikythera Mechanism it came out in 1981

Hope it helps you

pls mark my answer as brainliest

Answer:

1 and 2: Charles Babbage invented the computer (he was an English mechanical engineer and polymath) Charles Babbage was deemed the "father of the computer", he thought up and created the very first mechanical computer at the beginning of the 19th century.

3: the first computer was named the ubiquitous x86-powered workhorse of desktop and portable computing. All latest PCs are descendants of the earliest from IBM, the original model 5150 which made its first appearence in August 1981.

4: The first laptop computer available to the public was the Osborne. the Osborne Computer Corporation issued this exact model to the public in the year 1981. It ran at a large price of $1795. At the time of discharge, the screen was about five inches long and the keyboard was on the cover of the computer.

i did a lot of research for this, lol. hope it helps.

(i promise i did not plagerise)

Convert these denary numbers to binary

I’ll give Brainly please

Answers

Answer:

17 = 10001 . 62 = 111110      183 = 10110111 .      200 = 11001000

21= 10101 .     49= 110001

Explanation:

tell me if wrong

Please help with this code!

Answers

import random

months = ["jan", "feb", "mar", "apr", "may", "june", "july", "aug", "sept", "oct", "nov", "dec"]

pick1 = random.choice(months)

pick2 = random.choice(months)

if months.index(pick1) < months.index(pick2):

   print(pick1)

   print(pick2)

else:

   print(pick2)

   print(pick1)

Since the months are already in chronological order in the list, we can compare their index and print the string with the smaller index first. I wrote my code in python 3.8. I hope this helps.

Print even numbers till 50 in python coding.

Answers

In python, you can use a simple list comprehension to solve this problem.

print([x for x in range(51) if x % 2 == 0])

This code prints all the even numbers from 0 to 50 including 0 and 50.

Which computer network component connects two different networks and allows them to communicate?

Answers

Answer:

Core network components interconnect other network components. Gateway: an interface providing a compatibility between networks by converting transmission speeds, protocols, codes, or security measures. Router: a networking device that forwards data packets between computer networks.

The Internet was first used by which of the following institutions?
A.
Nazi party
B.
US Postal Service
C.
US Department of Defense
D.
British Broadcast Corporation

Answers

Answer:

U.S Department of Defense

Explanation:

(btw nazi party was around before the internet and ended before the internet therefor couldn't be that)

Which is the best reason for saving?

a) to buy what one wants now

b) to leave money to heirs

c) to achieve future goals

d) to accumulate wealth

Answers

C) to achieve future goals

The best reason for saving is to achieve future goals".

The correct option is C.

Saving money is a prudent financial practice that allows individuals to work towards and achieve their future goals. By saving, individuals can accumulate funds over time to finance important milestones.

While options like to buy what one wants now may provide immediate gratification, it does not necessarily contribute to long-term financial stability or help individuals reach their future goals.

Similarly, to leave money to heirs focuses on inheritance but may not align with everyone's priorities or circumstances.

On the other hand, to accumulate wealth can be seen as a valid reason for saving, as it implies building financial security and stability.

However, accumulating wealth is often viewed as a means to achieve future goals rather than an end in itself.

Learn more about Financial objectives here:

https://brainly.com/question/31435896

#SPJ6

Other Questions
Gap is having a sale where you can buy one shirt and get two other shirts at a sale price of 40%off before tax. Sales tax on all items is 5%. If you buy three shirts that were originally 28$ each before tax, how much do you pay in total. in the year 2010, the luxury bike industry had two bike manufactures splendor and passion with the market shares of 30% and 70%,respect. in 2011 the overall market for the product increased by 20% and a new player yahma also entered and cpatures the 10% of the market share. PLEASE HELP THIS IS THE LAST DAY AND IM FAILING!! PICTURE PROVIDED!! In this lab, what did the pennies represent? (im sorry if the words are small on the paper it makes me crop it so i had to put my camera farther away) Ryan is planning a party for his parents anniversary. The caterer charges a delivery fee of 14$ blue an additional 5.25$ per person. If he can spend no more than 350, how many people can he invite? 5^4/5+4Found this on khan What pressure is exerted by 0.625 moles of a gas in a 45.4 L container at -24.0 C? Find pressure in units of atm. PLEASE HELP ME ASAP!!!!! I NEED HELP ASAP! WILL GIVE U BRAINLIEST! Why did leaders of the Second Great Awakening call their meetings "revivals"? They wanted to repeat the First Great Awakening. They wanted to bring people's faith and morality back to life. They wanted to make church services more like theater performances. 8. Mary, the mouse, was hiding in the rocks when she saw a sandwich hit the ground atthe park. Being she was hungry, she decided to run to the sandwich, which was 30 feetaway. It took her 5 seconds to get to the sandwich. What was her average speed? The meaning of the prefix "dis' helps the reader understand that "distress' meansA)an invisible forceB)a backwards resultC)a happy set of eventsD) a bad or painful situation Which of these is most likely to lead to a cultural misunderstanding?O A. Not saluting the flag because one is a Jehovah's WitnessOB. Refusing to eat something because of a food allergyC. Acting as a pallbearer at a funeralO D. Eating fried chicken with one's fingers farming practices that expose topsoil to water and wind often result in which degraded the soil and can ultimately threaten food production 19.Look at the following chemical equation.NaBr + Cl2 2NaCl + Br2Is this a balanced chemical equation?A. Yes, because the mass of the reactants is equal to the mass of the products..No, because the mass of the reactants is less than the mass of the products.C.No, because the reactants contain fewer molecules than the products.DYes, because the reactants contain the same number of chlorine (CI) atoms as the products. Match the terms relating to the basic terminology and concepts of corporate finance on the left with the descriptions of the terms on the right. Read each description carefully and type the letter of the description in the Answer column next to the correct term. These are not necessarily complete definitions, but there is only one possible answer for each term Term Answer Description This benefit is conferred by the corporate form of organization in which an investor's personal responsibility for the debts of the business are limited to the amount the investor has invested in the firm Finance A. Corporation B. This is the worth of a good or service as established by the discounted and current value of the item's cash flows C. This general term is given to an individual or a group that has an interest in, or is affected by, a business Treasurer Limited liability D. This position and title is held by the individual responsible for planning and managing how the firm is financed, when its funds are raised, and how its risks are managed. This is a company's attitude and standards of conduct toward its stakeholders, including its customers, stockholders, creditors, employees, suppliers, management, and the community This is a participant in a partnership, whose personal assets may not be seized to satisfy the debts of the partnership. This state-created entity is authorized to conduct business and offer its owners an investment with an unlimited life. Business ethicS E. Limited partner F. Double taxation of dividends Shareholder wealth maximization G. This is a disadvantage of the corporate organization since it requires taxes to be levied on both the income of the firm and the dividend income earned by its shareholders It addresses how financial resources are obtained, allocated, and managed by a person, a business organization, or a governmental entity H. Stakeholder I. Value J. This primary goal of financial management is evaluated by the effect of a decision or an action on the value of the firm. The diameter of a bike wheel is 21 inches. If the wheel makes 13 complete rotations , how far does the bike travel? PLEASE ANSWERTracy Lee Stums work is famous because she....A.)sells work to many museumsB.)is very good at creating depthC.)is the only known street artistD.)uses computers to make her artwork Which of the following would the Bourbon Triumvirate have MOST LIKELY supported? *A. Setting aside public land for plantationsB. Extending voting rights to women and minoritiesC. Improving access to education for African AmericansD. Expanding the railroad and mining industries in the state what is an annular eclipse Select all that apply.Select from the following the factors that could cause water to evaporate.solar radiationheatenergyoceansultraviolet radiation