📜  python 随机数生成器没有重复 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:59.168000             🧑  作者: Mango

代码示例3
python -c "import random; print(sorted(set([random.randint(6,49) for i in range(7)]))[:6])"