print(np.random.permutation([1, 4, 9, 12, 15])[:4])
What does the [:4]
mean in Python? Does it mean the numbers of the result?
print(np.random.permutation([1, 4, 9, 12, 15])[:4])
What does the [:4]
mean in Python? Does it mean the numbers of the result?