+ # Making 10 objects and adding to set of all_objects
+ all_objects.add('obj'+str(i))
+ # Random object function
+ # Takes in the number of objects wanted in curr_objects
+ def random_objects(num=1):
+ curr_objects = random.sample(all_objects, num)
+ "Start with 10 objects in total"
+ # Check if obj1 and obj2 are in curr_objects
+ if all(x in curr_objects for x in ["obj1", "obj2"]):
+ "You have obj1 and obj2"
+ elif "obj1" in curr_objects:
+ "You don't have obj1 at all"
+ for obj in sorted(all_objects):
+ for obj in sorted(curr_objects):