Python can be used to implement central of tendencies such as mean, median and mode using the statistic module
The program in Python, where comments are used to explain each line is as follows:
#This imports the statistics module
import statistics
#This defines the function that calculates the mode
def calcMode(myList):
#This prints the mode
print(statistics.multimode(myList))
#This defines the function that calculates the median
def calcMedian(myList):
#This prints the median
print(statistics.median(myList))
#The main method begins here
#This initializes the list
myList = []
#The following iteration gets input for the list
for i in range(10):
myList.append(int(input()))
#This calls the calcMode method
calcMode(myList)
#This calls the calcMedian method
calcMedian(myList)
Read more about similar programs at:
brainly.com/question/25026386
Answer:
C is the answer to this question.
Answer:
Speakers.
Explanation: Cause they only output sound, and are devices, further more they are not used to output images, like how could speakers output images using sound? They can't.
An effective team leader shows great skills in every area, shows great support and respect to his teammates and is very easy to get along with.
Answer:
The answers are: it is used to enable fast DNS queries and It can help reduce the amount of network traffic generated by DNS servers.
Explanation:
Because a DNS server can resolve a query from tis local data sends a recursive qyery to a root server.