... 和終點的距離distance = math.sqrt((x1-x4)**2 + (y1-y4)**2) turtle.write(distance) turtle.done() ''' 布爾值:False:0 ;True1; 比較運算符:.
確定! 回上一頁