提交 885f5de5 编写于 作者: C cuixucui

Add the feature of selecting multiple options at a time

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