Answer:
import numpy as np
def genRandomVect():
arr = np.random.choice(range(100),size=(50,),replace=False)
return arr
print("Random 1D numpy array where each element is an integer sampled from: [0, 100) ")
print( genRandomVect() )
Explanation:
- Create a function to create a numpy array with random integers in range[0,100) with no duplicates
- Use the random.choice to select random values from range[0,100) and size attribute to take the size of the required array
.
- Finally return the numpy array.
I would say tag because it only involves touching
Answer:
I'm guessing D? i hope its right
The answer is the Base Row. The home row is the middle row on the keyboard and where the fingers remain while at rest. The upper row and bottom row are the two rows above and below the home rows.
Answer: I don’t know sorry
Explanation: