- 博客(2)
- 收藏
- 关注
原创 Homework02 7.17
‘’’ #NO.1 一个五边形的面积 import math r=float(input(‘输入r:’)) s=2rmath.sin(math.pi/5) a=5ss/(4math.tan(math.pi/5)) print(’%.2f’%a) ‘’’ ‘’’ #NO.2 大圆距离 import math x1,y1 =map(float,(input(‘输入x1,和y1:’)).split(...
2019-09-03 21:24:24 135
原创 homework1
#NO.1 #celsius(摄氏温度),fahrenheit(华氏温度) celsius =float(input(‘Enter a degree in Celsius :’)) fahrenheit = (9 / 5) * celsius +32 print(’%d Celsius is %.1f Fahrenheit’% (celsius,fahrenheit)) ‘’’ ‘’’ #NO.2...
2019-09-02 21:18:13 123
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人