Commit 1406ba09 by Ziyuan Nan

Update utils.py

parent 9aeb08e2
...@@ -70,7 +70,7 @@ def system_info(text): ...@@ -70,7 +70,7 @@ def system_info(text):
print(sys_str + text) print(sys_str + text)
def print_anpl(anpl, for_user=False): def print_anpl(anpl, for_user=False):
print(Syntax(anpl.to_python(for_user=for_user), "python", line_numbers=True)) print(Syntax(anpl.to_python(for_user=for_user), "python"))
def print_text_IOExamples(ios: list[IOExample]): def print_text_IOExamples(ios: list[IOExample]):
if len(ios) > 5: if len(ios) > 5:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment