w+空格是把按w再按空格还是按下w,按下空格,再弹起空格和w?whiletrue键名=waitkey()if键名=87thenkeypress"space",1endifif键名=83thenkeypress"a",1endifwend自己在记事本里按键试试~~