- 博客(2)
- 收藏
- 关注
原创 day02
7.17 T1 import math r=float(input(‘输入顶点到中心的距离r:’)) s=2rmath.sin(math.pi/5) area=5ss/(4*math.tan(math.pi/5)) print(‘五边形面积为%.2f’ % area) T2 import math x1,y1=map(float, input(‘输入点1的位置:’).split(’,’)) x2,...
2019-09-03 19:56:27
913
原创 day01homework
#第一天9.2作业 #T1 Celsius =float(input('请输入摄氏温度温度:')) fahrenheit = (9/5)*Celsius + 32 print('该%.1f摄氏温度转化为华氏温度为%.1f' % (Celsius,fahrenheit)) #T2 import mathradius =float(input('输入圆的半径:')) length=float(inp...
2019-09-03 19:08:10
220
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅