# 在这里写计算过程,然后将答案赋值给 a1
import math
import numpy as np
list_beijing[0]
rh = []
t = []
#len(list_beijing)
for i in range(len(list_beijing)):
rh.append(list_beijing[i][2])
for i in range(len(list_beijing)):
t.append(list_beijing[i][1])
def dew_t(t,rh):
b = (17.27*t)/(237.3+t)
a1 = 237.3*(math.log(rh/100)+b)
a2 = 17.27-(math.log(rh/100)+b)
t = a1/a2
return t
dew = []
for i in range(len(t)):
td = dew_t(t[i],rh[i])
dew.append(td)
dew
l = np.min(dew)
print('%.0f'%l)
a1 =l # 等号后面写上计算出来的答案