python中unique函數(shù)的返回值?
函數(shù)的尾部 return 要是用的返回值 def roll_dice(number=3, points=None): print('Choice points...') if points is None: points = [] while number > 0: point = random.randrange(1, 7) points.append(point) number = number - 1 return points