- 博客(2)
- 收藏
- 关注
原创 python day 03 homework
第一题import mathr = eval(input('Enter the length from the center to a vertex:'))s = 2 * r * math.sin(math.pi/5) area = 5 * s ** 2 / (4 * math.tan(math.pi/5))print('The area of the pentagon is %.2f...
2019-09-04 20:51:21
161
原创 python one day homework
# 第一题Wen = float (input("请输入摄氏温度值:"))hua = (9/5)*float(Wen)+32print('%.2f摄氏度是%.2f华氏温度'%(Wen, hua))# 第二题 import mathr , h = map(float,input('Enter the radius and length of a cylinder:').split(',...
2019-09-02 21:24:35
133
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人