描述80c28資訊網——每日最新資訊28at.com
Python3 degrees() 將弧度轉換為角度。80c28資訊網——每日最新資訊28at.com
語法80c28資訊網——每日最新資訊28at.com
以下是 degrees() 方法的語法:80c28資訊網——每日最新資訊28at.com
import math80c28資訊網——每日最新資訊28at.com
math.degrees(x)80c28資訊網——每日最新資訊28at.com
注意:degrees()是不能直接訪問的,需要導入 math 模塊,然后通過 math 靜態對象調用該方法。80c28資訊網——每日最新資訊28at.com
參數80c28資訊網——每日最新資訊28at.com
x -- 一個數值。80c28資訊網——每日最新資訊28at.com
返回值80c28資訊網——每日最新資訊28at.com
返回一個角度值。80c28資訊網——每日最新資訊28at.com
實例80c28資訊網——每日最新資訊28at.com
以下展示了使用 degrees() 方法的實例:80c28資訊網——每日最新資訊28at.com

以上實例運行后輸出結果為:80c28資訊網——每日最新資訊28at.com
本文鏈接:http://www.tebozhan.com/showinfo-119-2431-0.html云計算開發:Python3三角函數degrees()方法詳解
聲明:本網頁內容旨在傳播知識,若有侵權等問題請及時與本網聯系,我們將在第一時間刪除處理。郵件:2376512515@qq.com
上一篇: 云計算開發:Python3三角函數radians()方法詳解
下一篇: 云計算開發:Python3三角函數tan()方法詳解
標簽: