python:調用一個函數返回多個值的問題

如圖: import math def move(x,y,step,angle=0): … nx=x+stepmath.cos(angle) … ny=y-stepmath.sin(angle) … return nx,ny … x,y=move(100,100,60,math.pi/6) File 「」, line 5 x,y=move(100,100,60,math.pi/6) ^Syntax
相關文章
相關標籤/搜索