Newer
Older
from __future__ import annotations
from course.page.code import request_run
req = {
"setup_code": "a,b=5,2",
"names_for_user": ["a", "b"],
"user_code": "c = a+b",
"names_from_user": [],
"test_from_user": [],
"compile_only": False
}
count = 0
while True:
res = request_run(req, 10)