# welcome to softhunt.net # Python program explaining # numpy.broadcast_to() function # importing numpy as np import numpy as np arr = np.array([9, 7, 4]) softhunt = np.broadcast_to(arr, (3, 3)) print(softhunt)