Answer:
Step-by-step explanation:
The following code is written in Python, it loops through a list (box) of the objects and randomly choosing one of the objects. Prints that object out and removes it from the list. Then repeats the process until the box is empty.
import random
box = ['apple', 'ball', 'cat']
print(box)
for x in range(len(box)):
pick = random.randint(0,len(box)-1)
print("Pick " + str(x+1) + ": " + box[pick])
box.remove(box[pick])
print(box)