Complete the code to set the motor speed to 100.
motor.setSpeed([1])The motor speed must be set to 100 to make the drone move at full speed.
Complete the code to increase the motor speed by 10.
motor.setSpeed(motor.getSpeed() [1] 10)
Adding 10 to the current speed increases the motor speed.
Fix the error in the code to correctly set the motor speed.
motor.setSpeed([1])To increase speed by 10, add 10 to the current speed variable.
Fill both blanks to create a dictionary of motor speeds for each motor where speed is above 50.
motor_speeds = {motor: [1] for motor, speed in motors.items() if speed [2] 50}The dictionary stores speeds for motors where speed is greater than 50.
Fill all three blanks to create a dictionary with motor names in uppercase as keys, speeds as values, and only include motors with speed above 60.
motor_speeds = [1]: [2] for motor, speed in motors.items() if speed [3] 60
The keys are motor names in uppercase, values are speeds, and only motors with speed greater than 60 are included.
