提交 607f30af 编写于 作者: C cuixucui

Add the feature of selecting multiple options at a time

上级 f2fdf74d
...@@ -353,16 +353,16 @@ class EulerCertification(): ...@@ -353,16 +353,16 @@ class EulerCertification():
test["run"] = True test["run"] = True
continue continue
# num_lst = reply.split(" ") num_lst = reply.split(" ")
# for num in num_lst: for num in num_lst:
try: try:
num = int(reply) num = int(num)
except: except:
continue continue
if num > 0 and num <= len(self.test_factory): if num > 0 and num <= len(self.test_factory):
self.test_factory[num - 1]["run"] = not self.test_factory[num - 1]["run"] self.test_factory[num - 1]["run"] = not self.test_factory[num - 1]["run"]
continue continue
def show_tests(self): def show_tests(self):
""" """
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册