劉任昌python, input, str, float
VS code編輯環境截圖
VS code程式碼
from math import *
def abc(r):
print("劉任昌輸入的半徑 " + str(r))
print("圓面積: "+str(pi*r*r))
print("圓周長: "+str(pi*r*2))
print("球體積: "+str(pi*r*r*r*4/3))
print("球表面積:"+str(pi*r*r*4))
def tri(z):
print("劉任昌輸入的度 " + str(y))
print("正弦sin "+str(sin(z)))
print("餘弦cos "+str(cos(z)))
def group(r, t):
abc(r)
tri(t)
r = float(input("輸入半徑: "))
y = float(input("輸入角度360度單位: "))
t = y/180*pi
group(r,t)
https://liiuzhewei.blogspot.com/2023/05/pythoninput.html
回覆刪除作者已經移除這則留言。
回覆刪除https://hhhaann.blogspot.com/2023/05/htmlcssjavascriptjava.html
回覆刪除https://jasperyang.blogspot.com/2023/05/python-input-str-float.html
回覆刪除https://www.blogger.com/blog/post/edit/preview/1798542341945352529/4282240131854549023
回覆刪除https://spencer0309.blogspot.com/2023/05/python-input-str-float.html
回覆刪除https://cpc920508123.blogspot.com/2023/05/python-input-str-float.html
回覆刪除https://xdrcfvghyujiok8945656.blogspot.com/2023/05/python-input-str-float.html
回覆刪除https://rtytrdtfg.blogspot.com/2023/05/python-input-str-float.html
回覆刪除https://html-css-javascript-yaoto.blogspot.com/2023/05/python-input-str-float.html
回覆刪除https://cindy-javascript.blogspot.com/2023/05/python-input-str-float.html
回覆刪除https://iuytjhg5261.blogspot.com/2023/05/python-input-str-float.html
回覆刪除https://chenyouzheng0329.blogspot.com/2023/05/python-input-str-float.html
回覆刪除https://643gjeytfru4312.blogspot.com/2023/05/python-input-str-float.html
回覆刪除https://d11150108.blogspot.com/2023/05/python-input-str-float.html
回覆刪除https://trequiem.blogspot.com/2023/05/python-input-str-float.html
回覆刪除https://d11150110.blogspot.com/2023/05/python-input-str-float.html
回覆刪除https://d11150115.blogspot.com/2023/05/youtube-video-player.html
回覆刪除https://d11150116.blogspot.com/2023/05/python-input-str-float.html
回覆刪除https://d11150114.blogspot.com/2023/05/python-input-str-float.html
回覆刪除https://sarahyu-programming.blogspot.com/2023/05/522.html
回覆刪除https://zhanziyid11117129.blogspot.com/2023/05/python-input-str-float.html
回覆刪除https://xylia-lin.blogspot.com/2023/05/blog-post.html
回覆刪除https://nabibi101492.blogspot.com/2023/05/python-input-str-float2.html
回覆刪除