Generation

code to explanationMon, 10 Apr 2023

import numpy as np np.empty([2,3], dtype=int)

creates an array of 2 rows and 3 columns filled with random values.

Questions about programming?Chat with your personal AI assistant