Write a NumPy program to create a random 10×4 array and extract the first five rows of the array and store them into a variable. Return the variable.
Example 1:
No specific inputs.
Outputs will be random due to random array generation.
Example 2:
No specific inputs.
Outputs will be random due to random array generation.