vault backup: 2025-02-10 17:27:57
This commit is contained in:
5
21.01. Programming/Python/choices().md
Normal file
5
21.01. Programming/Python/choices().md
Normal file
@@ -0,0 +1,5 @@
|
||||
從list中選出n個項目,有可能重複:
|
||||
```python
|
||||
import random
|
||||
random.choices(seq, n)
|
||||
```
|
||||
Reference in New Issue
Block a user