import sys mingling = [['reset'],['reset','board'],['board','add'],['board','delete'],['reboot','backplane'],['backplane','abort']] zhixin = [['reset what'],['board fault'],['where to add'],['no board at all'],['impossible'],['install first'],['unknown command']] while True: try: #输入命令 ...