Complete the code to set the transmitter mode to Mode 2.
transmitter.mode = "[1]"
The standard Mode 2 is commonly used for RC transmitters, where the throttle is on the left stick.
Complete the code to bind the transmitter to the drone using the correct frequency band.
transmitter.bind(frequency="[1]")
Most modern RC transmitters use the 2.4GHz frequency band for binding and communication.
Fix the error in the code to correctly calibrate the transmitter sticks.
transmitter.calibrate(stick='[1]')
The correct spelling for the throttle stick is 'throttle'. Misspelling it causes calibration to fail.
Fill both blanks to create a dictionary comprehension that maps each channel to its range if the range is above 1000.
channel_ranges = {ch: [1] for ch, [2] in channels.items() if [2] > 1000}The dictionary comprehension uses 'range' as the value to map and 'range' as the variable name for the channel's range.
Fill all three blanks to filter channels with values above 1500 and create a new dictionary with channel names in uppercase.
filtered = [1]([2].upper(): val for [3], val in channels.items() if val > 1500)
We use dict() to create a dictionary, 'ch' as the variable for channel name, and 'ch' as the loop variable for items().
