Question: QUESTION 2 : Write a function that is called pickone, which will receive one input argument x , which is a vector, and will return
QUESTION :
Write a function that is called pickone, which will receive one input argument which is a vector, and
will return one random element from the vector. For example,
pickone :
ans
In vour script, test out your function with input which is an array of integers in the range from to
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
