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
mote1985 [20]
3 years ago
13

Write a function named "sum_values" that takes a list as a parameter and returns the sum of the values at indices 9, 8, and 11.

You may assume the input will be large enough to have values at all these indices
Computers and Technology
1 answer:
Svet_ta [14]3 years ago
3 0

Answer:

def sum_values(mylist):

 sumSomeNumbers = mylist[9]+mylist[8]+mylist[11]

 print(sumSomeNumbers)

Explanation:

Using python programming language;

A function is created called sum_values that accepts one parameter

Withing the function body, a variable called sumSomeNumbers is created to hold the sum of the elements at index 9,8 and 11

Finally a print Statement is used to output sumSomeNumbers

When the function is called It is passed a list as argument and it will display the sum of the three numbers at that indices

for example:

lst = [23,3,4,5,6,63,2,3,5,6,5,5,7,89]

sum_values(lst)

Outputs 16

You might be interested in
13) When developing film, how do you dispose of fixer as opposed to developer?
MAVERICK [17]

Answer:

B) Developer is poured down the drain while fixer can be reduced

Explanation:

The effluents produced during photographic processing includes, wash water, bleach, fixer, and developer

The developer is an alkaline solution, with a pH of approximately 10.0, while the pH of the fixer is about 4.3, it is therefore, acidic

The rate of discharge of the developer to the fixer is 2 to 1, and the exhausted developer, fixer and process effluents combined are neutral and can be handle by the the treatment works and the drain pipes

Fixer which remain clear can be reused for more than a day, while the spent basic Developer and the acidic Spent Stop Bath can be combined to form a neutral solution, having a pH of approximately 7, which make them less hazardous to be disposed off down the sink into the drain

Therefore, <em>developer is poured down the drain while fixer can be reused</em>

6 0
3 years ago
Which of the following statements is false?
mart [117]

Answer:

3 is true others are false

3 0
3 years ago
Read 2 more answers
Which should you consider when selecting a highlighting color?
hjlf

Answer:contrast

Explanation:

To make sure it’s easier to read

5 0
3 years ago
A service provider recently upgraded one of the storage clusters that houses non-confidential data for clients. The storage prov
VARVARA [1.3K]

Answer:

<em>C. Purging</em>

<em></em>

Explanation:

<em>Data Purging in computer storage is a process that permanently erases and remove data from a storage space</em>.  Data deleting only removes the shortcut to the data but does not remove the data permanently, and can be easily recovered by an expert. <em>Data purging removes data permanently and also frees up the storage or memory space for other uses.</em> Data purging is relatively inexpensive and can be achieved with some special software tool.

Since the storage provider wants the hard drive back in working condition, data purging is the best option.

3 0
3 years ago
your application is using kinesis to ingest data from a number of environmental sensors which continuously monitor for pollution
Lilit [14]

My response to this suggestion would be that the number of shards exceeds the number of instances because a single worker can process an infinite number of shards.

<h3>What is AWS?</h3>

AWS is an acronym for Amazon Web Service and it can be defined as a web-based service that is saddled with the responsibility of providing on-demand cloud computing and application programming interface (API) to individuals, governments, and business firms on a metered basis.

<h3>What is Amazon Kinesis?</h3>

Amazon Kinesis can be defined as an Amazon Web Service (AWS) which is designed and developed to enable an end user to ingest, buffer, and process large-scale data streams from multiple services in real-time.

In this scenario, my response to this suggestion would be that the number of shards exceeds the number of instances because a single worker can process an infinite number of shards.

Read more on Amazon Kinesis here: brainly.com/question/28115685

#SPJ4

5 0
2 years ago
Other questions:
  • If you define CSS rules on a parent control, the rules will be inherited by all of the children widgets.
    12·1 answer
  • Typically, a dvd has how many times more capacity than a cd?
    5·1 answer
  • Write a new program called Lab7D that will read strings from a text file and turn them into "encrypted code". Create a bool func
    14·1 answer
  • List and explain the error in the code
    14·1 answer
  • How do graphic designers showcase their work?
    14·2 answers
  • Statistics are often calculated with varying amounts of input data. Write a program that takes any number of non-negative intege
    10·1 answer
  • How is the bootstrap program started?
    6·2 answers
  • Find the basic period and basic frequency of the function g(t)=8cos(10πt)+sin(15πt)
    9·1 answer
  • What videos do you think we should make next?
    9·1 answer
  • Match the elements used in web searches to their functions.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!