Complete the code to check if the drone is hovering by comparing thrust and weight.
if thrust [1] weight: print("Hovering")
The hover condition is when thrust equals weight, so we use the '==' operator.
Complete the code to calculate the net force on the drone.
net_force = thrust [1] weightNet force is thrust minus weight to see if the drone moves up or down.
Fix the error in the condition to detect if the drone is ascending.
if thrust [1] weight: print("Ascending")
The drone ascends when thrust is greater than weight.
Fill both blanks to create a dictionary of drone states based on thrust and weight.
states = {"hover": thrust [1] weight, "ascend": thrust [2] weight}Hover is when thrust equals weight, ascend is when thrust is greater than weight.
Fill all three blanks to create a dictionary with hover, ascend, and descend states.
states = {"hover": thrust [1] weight, "ascend": thrust [2] weight, "descend": thrust [3] weight}Hover when thrust equals weight, ascend when thrust is greater, descend when thrust is less.
