Answer:
- def process(lst1, lst2):
- newList = []
- for i in range(0, len(lst1)):
- sum = lst1[i] + lst2[i]
- newList.append(sum)
- return newList
-
- list1 = [1, 3, 5, 7, 9]
- list2 = [2, 4, 6, 8, 10]
- print(process(list1, list2))
Explanation:
Firstly, create a function process that takes two input lists (Line 1). In the function, create a new list (Line 2). Use a for loop to traverse through the elements of the two lists and total up the corresponding elements and add the sum to the new list (Line 3 - 5). At last, return the new list (Line 6).
In the main program, create two sample list and use them as arguments to test the function process (Line 8 - 9). We shall get the output [3, 7, 11, 15, 19].
Answer:
Operation the correct answer for the given question.
Explanation:
An operation is a template that is used as a template parameter .An operation defined the services and behaviors of the class .The operation is directly invoked on instance .
Attribute define the property of an entity it is not defined the services and behaviors of the class. so this option is incorrect.
Class is the class of variable of method it is not defined the services and behaviors of the class so this option is incorrect.
Object are the rub time entity .object are used access the property of a class it is not defined the services and behaviors of the class so this option is incorrect.
Abstract class is the class which have not full implementation of all the method .it is not defined the services and behaviors of the class so this option is incorrect.
So the correct answer is operation.
Opinion wise, I disagree with punishment.
A hyperlink is a uniquely formatted word, group of words, or graphic that often shows webpage on the Internet, or file, or email, or the files with the the same location when clicked.
<h3>How do I paraphrase a sentence?</h3>
To paraphrase rightly, one need to makes some changes to the original sentence and then use their synonyms or reformulate it.
Note that the paraphrase form of the sentence given above is A hyperlink is a uniquely formatted word, group of words, or graphic that often shows webpage on the Internet, or file, or email, or the files with the the same location when clicked.
Learn more about hyperlink from
brainly.com/question/17373938
#SPJ1
Answer:
Development
Explanation:
The software needs the development to build up the strengths