#task12
def function12():
Create the following pattern without hardcoding. Use only numpy functions and the below input array arr.
HINT: use stacking concept
arr = np.array([1,2,3])
ans = #write your code here
return ans
"""
Expected Output:
array([1, 1, 1, 2, 2, 2, 3, 3, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3])
"""
En esta página del sitio puede ver el video en línea #task12 de Duración hora minuto segunda en buena calidad , que subió el usuario Python Developer 03 enero 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 169 veces y le gustó 4 a los espectadores. Disfruta viendo!