- numpy

The Cat Computing Universe: PyLab

import numpy as np import time start_time = time.time() x = np.random.rand(1000,1000) y = np.random.rand(1000,1000) z = x @ y end_time = time.time() print(f"Result is: \n {z}") print(f"The execution time is: {end_time-start_time}")