📜  如何在python代码示例中创建获得任意3项列表

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

代码示例1
import random as R
A=['a','b','c','d','e','f','g','h','i','j']
print("\n",R.sample(A,3))