This commit is contained in:
512song committed 2025-04-07 20:50:39 +08:00
1 parent b030391f58
commit f6dd5f0da5
7 files changed
+744 -1120

No files matched your search

+8 -2
View File
@@ -70,8 +70,14 @@ def cal_bmi(data1):
score = 1
return score
def get_wenjuan(list1,phone,dict1,dict3):
def get_wenjuan(filename,phone,dict1,dict3):
list1 = []
with open(filename,'r',newline='') as csv_file:
fl = csv.reader(csv_file,delimiter=',')
header = next(fl)
for line in fl:
list1.append(line)
nn = 0
for item in list1:
if item[2] in phone.keys():