This website requires JavaScript.
Explore
Help
Sign In
awin
/
Obsidian-Main
Watch
1
Star
0
Fork
0
You've already forked Obsidian-Main
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
Files
c289faea49c84d316e1e6d2b478ab8f68e1c3aba
Obsidian-Main
/
21. 資料收集
/
Programming
/
Python
/
sample().md
Awin Huang
9b2d33b9d4
vault backup: 2024-05-21 09:44:49
2024-05-21 09:44:49 +08:00
141 B
Raw
Blame
History
Unescape
Escape
從一個list中
,
選出n個不重複的項目
:
import
random
random
.
sample
(
seq
,
n
)
不像
choices()
是會重複的。
Reference in New Issue
View Git Blame
Copy Permalink