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]
4 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]4 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
What is the name of a process thorough which several biometric readings are taken on an individual in order to create an accurat
Sergeeva-Olga [200]

Answer:

d. Enrollment

Explanation:

Biometric refers to the machine in which it stores the data of the various persons i.e to by face recognition, fingerprint, etc

The enrollment is a procedure of a biometric in which a person is used for the one time.  The information related to the person is created and stored

Therefore in the given case, for keeping the accurate recording of the person characteristic we need to enroll it

Hence, the option d is correct

6 0
3 years ago
Question 2 Multiple Choice Worth 5 points)
Finger [1]

Answer:

Answer:much faster than Humans can

4 0
3 years ago
There are spoilers that doctor brenner is back in stranger things four and eleven is going back. Do you believe it or no? Make s
Svetlanka [38]
Wait Doctor Brenner is coming back?!?! Wait omg when??
5 0
3 years ago
If someone could translate this that would be awesome. I understand why you wouldn’t, it’s very long but I can’t do it without m
Angelina_Jolie [31]

Answer:

01010000 01010010

01001111 01001101

01001111 01000011

01001111 01000100

01000101 00111010

00100000 01000111

01101100 01101001

0111

100 0110001

0110111 01100011

this is the best i could do

Explanation:

5 0
3 years ago
Some file formats are specific to the program that uses them and the operating system on which they are used. True or False
mina [271]

Answer:

true

Explanation:

certain file formats can only be used to it's own operating system

5 0
4 years ago
Read 2 more answers
Other questions:
  • Although heart rate increases and decrease depending upon activity level on average a typical person heart rate is about _____ b
    10·1 answer
  • In Java please.
    13·1 answer
  • Susan teaches many individuals and business professionals how, why, and the benefits and challenges to using social media. Of th
    15·1 answer
  • Write any three type of looping structure with syntax​
    13·1 answer
  • A histogram titled Greeting card sales has date on the x-axis and cards (millions) on the y-axis. January is 1 card, February: 1
    12·2 answers
  • Why do we use antivirus program?<br><br>please tell fast​
    12·1 answer
  • What format can be applied to text in Excel?
    7·1 answer
  • Sort the layout options for two types of masters in PowerPoint.
    5·1 answer
  • Difine Mainframe Computer~<br><br><br><br><br><br><br><img src="https://tex.z-dn.net/?f=%20%5C%3A%20%20%5C%3A%20" id="TexFormula
    12·2 answers
  • We're given the training set data with the following values for variable X1:
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!