1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# coding=utf-8 hint = { 'no_hint': '''\ <p>No hint available, sorry!</p> ''', 'test_results': '''\ <p>Your code passed [%=passed%] / [%=total%] tests.</p> ''', 'syntax_error': '''\ <p>Your code contains a syntax error in line [%=lineno%]:</p> <pre> [%=message%] </pre> ''', }