def findconcealedrabbits(garden): preadmissioncheck = [cutout for cutout in garden if 'rabbit' in cutout.features]; commandslist = ['reset from zero', 'feed', 'play']; for command in commandslist: for rabbit in preadmissioncheck: if rabbit.concealed: executecommand(rabbit, command);