![第一题](https://i-blog.csdnimg.cn/blog_migrate/36acc40c7817e52db75e53a1252f891c.png)
celsius = int(input("请输入摄氏度:"))
fahrenheit = (9 / 5) * celsius + 32
print(str(celsius) + "摄氏度等于" + str(fahrenheit) + "华氏摄氏度")
![第二题](https://i-blog.csdnimg.cn/blog_migrate/6a4b79d476e8f027cb5b5a6477f45be3.png)
pi = 3.14
r = int(input("请输入圆柱的半径:"))
h = int(input("请输入圆柱的高:"))
area = r ** 2 *pi
volume = area * h
print("圆柱地面积为:" + str(area) + "圆柱体积为:" + str(volume))
![第三题](https://i-blog.csdnimg.cn/blog_migrate/d28672b0e97e4759694cb71be0f4d324.png)
yingchi = float(input("请输入英尺数:"))
michi = 1 / 0.305
print("%.2f 英尺" %yingchi)
print("%.2f 米"% michi)
![第四题](https://i-blog.csdnimg.cn/blog_migrate/cc0f664b26b13a5fb9288218401903da.png)
initial = float(input("请输入起始温度:"))
final = float(input("请输入最终温度:"))
M = float(input("请输入千克数:"))
Q = float(M *(final - initial) * 4148)
print(str(M) + "千克水从" + str(initial) + "度到" + str(final) + "度需要" + str(Q) + "焦热量")
![第五题](https://i-blog.csdnimg.cn/blog_migrate/7f74eeedd62c3d810b0c7087018a97ae.png)
balance = float(input("请输入差额:"))
rate = float(input("请输入年利率:"))
lixi = float(balance*(rate/1200))
print(lixi)
![第六题](https://i-blog.csdnimg.cn/blog_migrate/45548ae4ad372d76dba9b4912d3d0bab.png)
v0 = float(input("请输入初速度:"))
v1 = float(input("请输入末速度:"))
t = float(input("请输入时间变化量:"))
a = (v1 - v0)/t
print("加速度为:" + str(a))
![第七题](https://i-blog.csdnimg.cn/blog_migrate/99a67990fef7f906f6fa1d21a0f17fb2.png)
rate = (1 + 0.00417)
i = 0
sum = 0
j = int(input("请输入每月存款数:"))
for i in range(6):
sum = sum * rate + j
print(sum)
![第八题](https://i-blog.csdnimg.cn/blog_migrate/0808caf66e541c27550b04b05332a424.png)
i = int(input("请输入小于1000的数:"))
if i < 1000:
gw = int(i%10)
sw = int(i/10%10)
bw = int(i/100)
print(sw + gw + bw)
else:
print("你输入的数字有误!")