nums = list(map(int, input().split()))
mean = sum(nums)/len(nums)
print("The mean is",mean)
values = 0
for x in nums:
values += abs(x - mean)**2
print("The standard deviation is",(values / (len(nums)-1))**0.5)
I wrote my code in python 3.8. I hope this helps.
Answer:
The exec command by interpreter to start new process
Explanation:
On Unix systems, a call to the fork system must be made followed by a call to the e x e c system to begin a new process. The fork call clones the process that is currently running, while the executive call overlays a new process based on a different executable over the calling process.
It is seperate from Kernal because
It Read user commands or a script and execute them, generally turning them into one or more system calls. Is usual It is not part of the kernel since the command interpreter is subject to change.
Answer:
user_string = input("Input a string : ")
output = user_string.isnumeric()
if output == True:
print("yes")
else:
print("no")
Explanation:
- First of all check whether user input have all numeric value or not
.
- Display yes if string contain all numeric values
.
- Display no if string contain at least one non - integer character
.
Answer: demographics
Explanation:
Market segmentation refers to the process of dividing the consumers into sub-groups of consumers which are refered to as the segments based on the characteristics shared.
The examples of a customer's behavior or relationship with a product include user status, usage rate and loyalty status.
It should be noted that some examples of market segmentation are behavioral, demographic, geographic, and psychographic. From the options given, demographics is not an example of a customer's behavior with a product.