Complete the code to set the drone's target altitude to 100 meters.
drone.set_target_altitude([1])The target altitude should be set to 100 meters as specified.
Complete the code to check if the drone's current altitude is above 80 meters.
if drone.current_altitude [1] 80:
The condition checks if the current altitude is greater than 80 meters.
Fix the error in the code to correctly increase the drone's altitude by 10 meters.
drone.altitude = drone.altitude [1] 10
Use '+' to add 10 meters to the current altitude.
Fill both blanks to create a dictionary of altitudes for waypoints where altitude is above 50 meters.
altitudes = {wp: drone.get_altitude(wp) [1] wp in waypoints if drone.get_altitude(wp) [2] 50}The dictionary comprehension uses 'for' to loop and '>' to filter altitudes above 50.
Fill all three blanks to create a dictionary of waypoints with altitudes above 30 meters, using uppercase waypoint names.
high_points = [1]: drone.get_altitude([2]) for [3] in waypoints if drone.get_altitude([3]) > 30}
The dictionary keys are uppercase waypoint names, values are altitudes, and 'wp' is the loop variable.
