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
A router is a web device that directs packages over a web towards their final destination is true.
<h3>What is the router?</h3>
- A router is a machine that combines two or more packet-switched grids or subnetworks.
- A router accepts and data transmits on computer networks. Routers are sometimes confused with network hubs, modems, or network controllers.
- However, routers can integrate the functions of these components, and secure with these devices, to improve Internet entry or help create interaction networks.
- A router is a device that is used for forwarding the internet connection to all the related devices.
- A Wi-Fi connects the networking parts of a router and a wireless access point.
- A wireless router (or Wi-Fi router) works much like a wired router, but it returns wires with wireless radio calls.
To learn more about router, refer to:
brainly.com/question/24812743
#SPJ4
An example would be a: motorized vehicle aka a car or a bike etc.
text effects, and typography.