Answer:
def listSum(mylist):
sum =0
for item in range(0,len(mylist)):
sum=sum+mylist[item]
print(sum)
Explanation:
Using the Python programming language, I defined a function as listSum that accepts a list as a parameter and returns the sum of the elements in the list.
The most important logic here is defining the range of elements in the list not to exceed the length of the list using the len function. Then using a for statement, we loop through each element and add them up to a sum variable initially assigned the value of 0.
Answer:
Such three ways to include the work of other writers in your own writing differ depending on whether you are close to the source.
Explanation:
Quotations must be the same as the original, using a narrow source segment. We must be word for word on the source document and the original author must be credited.
Paraphrasing means putting your own words into a line from the source material. The original source should also be assigned a paraphrase. Paraphrased material usually is shorter than the original one, which takes and slightly condenses a somewhat broader part of the source.
In summary, you have to put the main idea(s), including only the main point(s), in your own words. Again, summarized ideas must be attributed to the source. Summaries are much shorter than the original and give a broad overview of the source documents.
Answer:
B
Explanation:
You can't rewrite a source with the writers voice. that makes no sense
Contact solution is the answer and the work is your brain
Answer:
When a sentinel is used in a (pretest/post test) loop to validate data, the loop repeats as long as the input is (valid/invalid).
Explanation:
Required
Fill in the gaps
Sentinel are used to validate or invalidate loops (pretest and post test loops).
Since , some parts of the brackets have aready been filled, we simply complete the blanks with the opposite of the term in the bracket. i.e. the opposite of post test is pretest and the opposite of valid is invalid.
<em>So, the blanks will be filled with pretest and invalid.</em>