Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -149,7 +149,7 @@ def submit_answers_pretest(question1, question2, question3, question4, question5
|
|
149 |
answers['Question 10'] = question10
|
150 |
|
151 |
# 可以将结果保存到文件
|
152 |
-
with open('answers4pretest.txt', 'a') as f:
|
153 |
f.write(f"Question 1: {question1}\n")
|
154 |
f.write(f"Question 2: {question2}\n")
|
155 |
f.write(f"Question 3: {question3}\n")
|
@@ -177,7 +177,7 @@ def submit_answers_posttest(question1, question2, question3, question4, question
|
|
177 |
answers['Question 10'] = question10
|
178 |
|
179 |
# 可以将结果保存到文件
|
180 |
-
with open('answers4posttest.txt', 'a') as f:
|
181 |
f.write(f"Question 1: {question1}\n")
|
182 |
f.write(f"Question 2: {question2}\n")
|
183 |
f.write(f"Question 3: {question3}\n")
|
|
|
149 |
answers['Question 10'] = question10
|
150 |
|
151 |
# 可以将结果保存到文件
|
152 |
+
with open('./answers4pretest.txt', 'a') as f:
|
153 |
f.write(f"Question 1: {question1}\n")
|
154 |
f.write(f"Question 2: {question2}\n")
|
155 |
f.write(f"Question 3: {question3}\n")
|
|
|
177 |
answers['Question 10'] = question10
|
178 |
|
179 |
# 可以将结果保存到文件
|
180 |
+
with open('./answers4posttest.txt', 'a') as f:
|
181 |
f.write(f"Question 1: {question1}\n")
|
182 |
f.write(f"Question 2: {question2}\n")
|
183 |
f.write(f"Question 3: {question3}\n")
|