- 博客(2)
- 收藏
- 关注
原创 day02homework7.17
NO.1import mathr=float(input('Enter the length from the center to a vertex:'))s=2*r*math.sin(math.pi/5)area=5*s*s/(4*math.tan(math.pi/5))print('The area of the pentagon is %.2f'%area)NO.2impor...
2019-09-03 19:37:09 151 1
原创 day01homework
no.1celsius=float(input('Enter a degree in celsius:'))fahrenheit=(9/5)*celsius+32print('%f Celsius is %.2f Fahrenheit ' %(celsius,fahrenheit) )no.2import mathradius=float(input('Enter the radiu...
2019-09-02 21:02:07 62
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人