# Calculate average values of two given NumPy arrays in Python # import libraryimport numpy as np  #  create a numpy 1d-arraysarr1 = np.array([3, 4])arr2 = np.array([1, 0])  # find average of NumPy arraysavg = (arr1 + arr2) / 2  print("Average of NumPy arrays:\n",      avg)