CodePudding user response:
Put the images in a list, put the serial number of the picture according to the number of n/probability to another list, with a second list of random indexCodePudding user response:
Put the images in a list, put the serial number of the picture according to the number of n/probability to another list, with a second list of random index