Complete the code to arm the drone.
drone.[1]()The arm() command prepares the drone for flight by powering the motors.
Complete the code to make the drone take off to 10 meters.
drone.takeoff([1])The takeoff() command makes the drone rise to the specified altitude in meters.
Fix the error in the code to arm and take off the drone.
drone.[1]() drone.takeoff(10)
The drone must be armed before taking off. Using arm() fixes the error.
Fill both blanks to arm the drone and take off to 15 meters.
drone.[1]() drone.takeoff([2])
First arm the drone with arm(), then take off to 15 meters by passing 15 to takeoff().
Fill all three blanks to arm the drone, take off to 20 meters, and then hover.
drone.[1]() drone.takeoff([2]) drone.[3]()
First, arm the drone with arm(). Then take off to 20 meters by passing 20. Finally, use hover() to keep the drone steady.
