Answer:
The correct answer to the following question will be "NORM.S.INV".
Explanation:
- The NORM.IN.V function in Excel determines the opposite of the Cumulative Standard Distribution Function for just a value of x which is given, and the standard deviation and mean of the distribution provided. The probability of NORMINV(mean, probability, standard deviation).
- In Excel 2010, the standard. S. Inv function is new and is therefore not easily accessible in Excel's earlier versions.
Therefore, NORM.S.INV is the right answer.
Every recursive function should have an exit criterion (=handling the base case) to exit the recursion.
Without it, it wil recurse forever, until system resources run out (typically the call stack will overflow and your program will crash).
Answer:
that is so long i just want points
Explanation:
Answer:
Decision making structures require that the programmer specify one or more conditions to be evaluated or tested by the program, along with a statement or statements to be executed if the condition is determined to be true, and optionally, other statements to be executed if the condition is determined to be false.
def pig_latin(word):
if word[0].lower() in 'aeiou':
word = word + 'way'
else:
t=''
for x in range(len(word)):
if word[x].lower() in 'aeiou':
break
if word[x].lower() == 'y' and x>0:
break
else:
t+=word[x].lower()
if word[0].isupper():
word = word[len(t):]+word[:len(t)].lower()+'ay'
word = word.title()
else:
word = word[len(t):]+word[:len(t)].lower()+'ay'
return word
word = 'test'
pl = pig_latin(word)
print(pl)
I wrote my code in python 3.8. I hope this helps.