Complete the code to make the drone take off.
drone.[1]()The take_off() method makes the drone lift off the ground.
Complete the code to make the drone fly forward by 10 meters.
drone.move_forward([1])Passing 10 makes the drone move forward 10 meters.
Fix the error in the code to check if the drone's battery is above 20%.
if drone.battery_level [1] 20:
The '>' operator checks if battery level is greater than 20%.
Fill both blanks to create a dictionary of drone sensors with their status.
sensors_status = {"camera": [1], "gps": [2]The camera is active (True) and GPS is inactive ("inactive") in this example.
Fill all three blanks to filter drone data for sensors with values above 50.
filtered_data = {k: v for k, v in drone_data.items() if v [1] [2] and k [3] "temperature"}This code keeps sensors with values greater than 50 and excludes the temperature sensor.
