Complete the code to start the drone's mission.
drone.[1]()The launch() command starts the drone's mission by taking off.
Complete the code to make the drone move forward by 10 meters.
drone.move([1], 10)
The move('forward', 10) command moves the drone 10 meters forward.
Fix the error in the code to check if the drone has reached its target.
if drone.position == [1]: drone.stop()
The variable target_position correctly holds the target coordinates.
Fill both blanks to create a dictionary of drone IDs and their battery levels for drones with battery above 20%.
battery_status = {drone_id: [1] for drone_id, [2] in drones.items() if battery > 20}The dictionary comprehension maps each drone_id to its battery level from the drones dictionary.
Fill all three blanks to filter drones with signal strength above 75 and create a dictionary with drone names in uppercase as keys and their signal as values.
strong_signals = [1]: [2] for name, [3] in drone_signals.items() if signal > 75}
This dictionary comprehension creates keys as uppercase drone names and values as their signal strength, filtering only those with signal above 75.