#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
In questa pagina del sito puoi guardare il video online #task10 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Python Developer 01 gennaio 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 222 volte e gli è piaciuto 3 spettatori. Buona visione!