Answer:
import random
def buildArray():
amount = int(input("How many values to add to the array: "))
array = []
for i in range(amount):
array.append(random.randint(10, 99))
return array
array = buildArray()
print(array)
def sumArray(array):
return sum(array)
sum_array = sumArray(array)
print("The total is: ", sum_array)
Explanation:
this gave me 80%
In this exercise we have to use the knowledge of computational language in python to write the code.
We have the code in the attached image.
The code in python can be found as:
import random
def buildArray():
amount = int(input("How many values to add to the array: "))
array = []
for i in range(amount):
array.append(random.randint(10, 99))
return array
array = buildArray()
print(array)
def sumArray(array):
return sum(array)
sum_array = sumArray(array)
print("The total is: ", sum_array)
See more about python at brainly.com/question/26104476
PLEASE HELPPPPPPP What should you always disconnect before installing hardware inside a computer’s case?
A.
all cabling
B.
all internal components
C.
the CPU
D.
the internal DVD drive
Answer:
a) all cabling hope it helps
What should a user do to find and replace text throughout a field? Use the drop-down menus to complete the steps
1. Put the cursor in the field to search
2. In the Home tab, open the dialog box
3. On the
tab, enter the text to search for and the replacement text
4. After a few instances to make sure the text is being replaced correctly, you can then click
to
change all instances
The thing that a user should do to find and replace text throughout a field are:
1. Put the cursor in the field to search.
2. Open the find dialog box.
3. On the Replace tab, enter the text to search for and the replacement text.
4. Click Replace All to change all instances.
How do you search for and replace text across an entire field?The keys on the keyboard CTRL+F is often used to find. The dialog window for Find and Replace appears. Click the Find tab in the Find and Replace dialog box to search for data. Click the Replace tab to perform a find-and-replace operation.
The operations are:
1. Click Find and Select in the Editing group on the Home tab, then select Replace from the drop-down list.
2. In the dialog box, select the objects you want to Find and Replace by clicking the Options button.
3. Press the Replace or Replace All button.
Therefore, If you want to replace all occurrences of a word or format in a document, use the Ctrl+H Find and Replace function. This is very useful for lengthy papers.
Learn more about Editing from
https://brainly.com/question/15768529
#SPJ1
See full question below
What are the steps to replace one piece of text with another throughout a field? Use the drop-down menus to
complete the statements.
1. Put the cursor in the field to search.
2. Open the _____
dialog box.
3. On the Replace tab, enter the text to search for and the replacement text.
4. Click -------to change all instances.
Why do we use if statements?
To tell Tracy to stop our code if there’s an error
To have Tracy make decisions based on conditional statements
To tell Tracy to do something if we run our code
To have Tracy complete one function at a time
I need help I have questions I need answers in coding html,css,js and python.Fast
The purpose of the sleep method is to reduce the amount of energy the program uses.
True
False
The _____ is a collection of webpages that use the internet.
pseudocode
World Wide Web
Python
server
Which of the following lines of code would correctly create a list called weapons?
weapons == [“sword”, “sling”, “knife”]
weapons = [“sword” or “sling” or “knife”]
weapons = (“sword”, “sling”, “knife”)
weapons = [“sword”, “sling”, “knife”]
Which of these lines of code would import both the random and the time modules?
import random, time
import random and time
time.import, random.import
import(random, time)
When using HTML, your text should be placed between the opening and the closing tags.
True
False
Answer:
1. True
2. World Wide Web
3. weapons = [“sword”, “sling”, “knife”]
4. import random, time
5. True.
Explanation:
For number 1 I'm not quite sure since I never personally used it, but it does reduce CPU usage when activated so it's very possible it's true.
--concept mapping--
importance of trees for people:
1.
2.
3.
4.
5.
importance of trees for animals
1.
2.
3.
4.
5.
Answer:
-Both need oxygen from the trees to breathe
-Without trees the population of animals and people would be dying
Explanation:
Thats all I can think of
when should a computer definitely have an ip address
what is the best free website to learn phyton programming
Use the drop-down tool to select the word or phrase that completes each sentence. Text within a document that is linked to other information available to the reader is called _______. A unique location for a computer on the network is its _______. The ________ is the ability of a network tor cover after any type of failure. The computer that responds to requests from the client computer is known as the ________. A ________ is an ordered list of tasks waiting to be performed.
Answer:
1. Hyperlink
2. IP address
3. Fault tolerance
4. Server
5. To do list
Explanation:
Text within a document that is linked to other information available to the reader is called HYPERLINK.
A unique location for a computer on the network is its IP ADDRESS.
The FAULT TOLERANCE is the ability of a network to cover after any type of failure.
The computer that responds to requests from the client computer is known as the SERVER.
A TO-DO LIST is an ordered list of tasks waiting to be performed.
Answer:
hypertext
IP address
fault tolerance
server
queue
Explanation:
just did it on edg