This is a setter function that allows you to set the yaw variable. Once you set yaw, you have to use move() to actually execute the movement. The yaw variable will remain what you last set it until the end of the flight sequence, so you will have to set it back to 0 if you don't want the drone to yaw again.
power: An int from -100 to 100 that sets the yaw variable. The number represents the direction and power of the output for that flight motion variable. Negative yaw turns left, positive yaw turns right.
drone = CoDrone_mini.CoDrone()
# Drone turns right for 1 second with 50% power
drone.move(1) #use move() to execute the movement for 1 second