Spaces:
Runtime error
Runtime error
import random | |
import numpy as np | |
random_vals = random.sample(range(10, 30), 5) | |
print(random_vals) | |
arr = np.array( [[ 1, 2, 3], | |
[ 4, 2, 5]] ) | |
print(arr) | |
arr2 = np.array( | |
[ | |
[2,5], | |
[2,6], | |
[100,34] | |
] | |
) | |
print(arr2) |