vault backup: 2025-03-04 11:17:00
This commit is contained in:
5
20.01. Programming/Python/choices().md
Normal file
5
20.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