def turn_left(t): print('left') gpio.output(right_forward, gpio.HIGH) sleep(t) gpio.output(right_forward, gpio.LOW)