python's random choices gives the same array every invokaton

前端 未结 0 758
我寻月下人不归
我寻月下人不归 2021-01-07 14:57

I using python\'s random.choices inside a while loop and its result is always the same which makes my loop infinite:

object_one = object_two = None
while obje         


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