1 | # Using NumPy, write a program to create multidimensional array, load it with the numbers and display the content of it. |
2 | |
3 | import numpy as np |
4 | |
5 | arr = np.array([[1, 2, 3], [4, 5, 6]]) |
6 | print(arr) |
7 |
Naposledy aktivní
1 | # Using NumPy, write a program to create multidimensional array, load it with the numbers and display the content of it. |
2 | |
3 | import numpy as np |
4 | |
5 | arr = np.array([[1, 2, 3], [4, 5, 6]]) |
6 | print(arr) |
7 |