Qurak

RandomChoice

ใช้งานได้

Random selection with replacement.

RandomChoice[{e1, e2, …}]
RandomChoice[list, n]
RandomChoice[list, {n1, n2, …}]
RandomChoice[{w1, w2, …} -> {e1, e2, …}]
RandomChoice[wlist -> elist, n]
RandomChoice[wlist -> elist, {n1, n2, …}]
RandomChoice[{x}] → x

หัวข้อ

ที่เกี่ยวข้อง

ฟังก์ชันทั้งหมด 6300 รายการ · ใช้สิ่งนี้จากไคลเอนต์ MCP