from engi1020.arduino.api import * from time import sleep import random def collect_data(): pass InstructionList = ['Flip to the left', 'Flip to the right'] instruction = random.choice(InstructionList)