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
An instance in my life where I rendered services was when I worked in a grocery store.
The roles of entrepreneur include:
- Allocating employees duties.
- Improving standard of living.
- Taking risks.
The three challenges that a young entrepreneur faces today include:
- Financial instability.
- Conflicts with education.
- Lack of business skills.
The top three characteristics of an entrepreneur include:
- Innovation.
- Confidence
- Risk taking
<h3>Who's an entrepreneur?</h3>
It should be noted that a entrepreneur is an individual who owns business and take risks.
The roles of entrepreneur include allocating employees duties, improving standard of living, and taking risks
Learn more about entrepreneur on:
brainly.com/question/353543
#SPJ1
The correct answer for your question is true, Hope this helps
<span>The statement that P2P networks are most commonly used in home networks is true.
</span>P2P stands for peer-to-peer communication network. It is an example of local administration. <span> Two or more PCs share files and access to devices such as printers without requiring a separate server computer or server software with P2P type of network.</span>
Answer:
graphic design and digital marketing solutions