Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个列表['a','b','c','d'],我想随机选择
['a','b','c','d']
'a' = 75 %
'b' = 15 %
'c' = 5 %
'd' = 5 %
时代我如何在python中实现这一点
提前致谢。