Answer:
<h3>Porter's competitive forces model helps companies determine what they should do to be more productive by comparing what their competitors are doing. It also brings the companies costs down and makes them more efficient as a business by using Information Systems.</h3>
Answer:
The complete code is as follows:
from array import *
myArr = array('f',[3, 5, 7,3, 10])
location = myArr.index(7)
print(str("7")+" is at position "+str(location+1))
Explanation:
I made corrections to the third line of the code and I added a line
This line gets the index of 7 from the array myArr using the index keyword
location = myArr.index(7)
This line prints the position of the 7 in the array
print(str("7")+" is at position "+str(location+1))
Answer:
def max_n(arr, n):
arr.sort()
i = len(arr)-n
return arr[i:]
Explanation:
Define a function called max_n that takes two parameters, an array and an integer
Sort the array
In order to get the last n largest values, we need to slice the array. To do that we need a starting point. Our starting point of slicing will be the "lentgh of the array - n". That means, if we start slicing from that index to the last in the sorted array, we will get the last n largest values.
Assume array is 10, 2, 444, 91 initially.
When we sort it, it becomes 2, 10, 91, 444
Now let's say we want last 2 largest values, our sliced array index should start from 2 and go until the end
i = 4 - 2 = 2 → arr[2:] will return us 91 and 444
Protocol, in computer science, a set of rules or procedures for transmitting data between electronic devices, such as computers. In order for computers to exchange information, there must be a preexisting agreement as to how the information will be structured and how each side will send and receive it.
Answer:5 i think im not sure though
Explanation: