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
d7f574153d0603c0e893ea318da7ce19e090fdcf
Obsidian-Main
/
05. 資料收集
/
Programming
/
Python
/
sample().md
Awin Huang
d7f574153d
vault backup: 2024-02-17 23:11:19
2024-02-17 23:11:20 +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