Answer:
The function in Python is as follows:
def greetings(details):
details = details.split(' ')
print('Hello, '+details[0]+'!, I also enjoy '+details[2])
Explanation:
This defines the function
def greetings(details):
This splits the input string by space
details = details.split(' ')
This prints the required output
print('Hello, '+details[0]+'!, I also enjoy '+details[2])
After splitting, the string at index 0 represents the name while the string at index 2 represents the hobby
Answer:
the answer is a, b,d on edg.
Explanation:
Answer:
Recursion is calling of a function from within that same function
Answer:
The correct Answer is 0.0571
Explanation:
53% of U.S. households have a PCs.
So, P(Having personal computer) = p = 0.53
Sample size(n) = 250
np(1-p) = 250 * 0.53 * (1 - 0.53) = 62.275 > 10
So, we can just estimate binomial distribution to normal distribution
Mean of proportion(p) = 0.53
Standard error of proportion(SE) =
=
= 0.0316
For x = 120, sample proportion(p) =
=
= 0.48
So, likelihood that fewer than 120 have a PC
= P(x < 120)
= P( p^ < 0.48 )
= P(z <
) (z=
)
= P(z < -1.58)
= 0.0571 ( From normal table )
When Microsoft donated copies of Word program to colleges
and universities, the company Microsoft is using a Marketing Strategy in
promoting the product. A good promotion will help the product to be known and
by words of mouth it will basically promote the product and the users will
definitely give comments on how the product performs.