#task10
def function10():
Subtract the 1d array brr from the 2d array arr, such that each item of brr subtracts from respective row of arr.
arr = np.array([[3,3,3],[4,4,4],[5,5,5]])
brr = np.array([1,2,3])
subt = # write your code here
return subt
"""
Expected Output:
array([[2 2 2]
[2 2 2]
[2 2 2]])
"""
#Shaheencodingzone
Subscribe
liek
share
| Python Tutorial For Beginners
En esta página del sitio puede ver el video en línea #task10 de Duración hora minuto segunda en buena calidad , que subió el usuario Python Developer 01 enero 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 222 veces y le gustó 3 a los espectadores. Disfruta viendo!