python3代码如下: import sys command_arr=['reset', 'reset board', 'board add', 'board delete', 'reboot backplane', 'backplane abort'] exe_arr=['reset what', 'board fault', 'where to add', 'no board at all', 'impossible', 'install first'] def f(x): #先判断一下数组的字符串数量,三个以上的命令就不用考虑了 le1=len(x) if le1<=2: con...