Loading...
Generate random arrays with specific properties.
NumPy's random module provides:
Write a function random_arrays(rows, cols, seed) that creates random arrays.
Important: Set the seed at the start using np.random.seed(seed).
Return a dictionary with:
rows=2, cols=3, seed=42
Arrays with reproducible random values
np.random.seed(42) ensures reproducible results