兩個元素可以直接拆封成兩個變數(square, sroot)來取代。若是傳回是list,那就得說square =list[0],sroot=list[1],雖然效果可以相同,不過tuple比較容易使用。
確定! 回上一頁