To raise a number to a power in Python, use the Python exponent operator **. For example 2^3 is 2 ** 3. You can also use pow() or math.pow().
確定! 回上一頁