def turn_right(t): print('right') gpio.output(left_forward, gpio.HIGH) sleep(t) gpio.output(left_forward, gpio.LOW)