Spaces:
Runtime error
Runtime error
File size: 278 Bytes
73f7e39 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
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) |