以下是pow()方法的語法: import math math.pow( x, y ). 注意:此函數是無法直接訪問的,所以我們需要導入math模塊,然後需要用math的靜態對象來調用這個函數。
確定! 回上一頁