How to randomly select fewer numbers in a list in python and make it unique each time

前端 未结 0 910
执念已碎
执念已碎 2020-12-31 09:37

My topic phrase might not be so good, i\'m bad with titles. Let\'s say i have x = [1,2,3,4,5,6,7,8,9] and i want to randomly make a new shorter list with different numbers i

相关标签:
回答
  • 消灭零回复
提交回复
热议问题