python 函數 求 圓的周長及面積;三角形的面積

import mathweb def c_yuan(): r = float(input(‘請輸入圓的半徑:’)) return 2 * math.pi * rsvg print(‘圓的周長爲:’, c_yuan())xml ======================================== 圓形的面積 def s_yuan(): r = float(input(「請輸入圓的半徑:
相關文章
相關標籤/搜索