diff options
author | Martin <martin@leo.fri1.uni-lj.si> | 2015-10-07 16:07:05 +0200 |
---|---|---|
committer | Martin <martin@leo.fri1.uni-lj.si> | 2015-10-07 16:07:05 +0200 |
commit | bab0b0a2fe8b3aad853740750d4873fb929f5f41 (patch) | |
tree | dff5d20ce51ddb2f50161da0e5d0f139c589315f /python/problems/while_and_if/minimax | |
parent | 609daf7798f98b0359bb188eb3a83690e93ace7f (diff) |
Remove bold text since it looked strange.
Diffstat (limited to 'python/problems/while_and_if/minimax')
-rw-r--r-- | python/problems/while_and_if/minimax/common.py | 2 | ||||
-rw-r--r-- | python/problems/while_and_if/minimax/sl.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/python/problems/while_and_if/minimax/common.py b/python/problems/while_and_if/minimax/common.py index 71632b7..dcfb311 100644 --- a/python/problems/while_and_if/minimax/common.py +++ b/python/problems/while_and_if/minimax/common.py @@ -60,7 +60,7 @@ def test(python, code): n_correct = 0 tin = None for i, (output, correct) in enumerate(zip(outputs, test_out)): - if all(string_almost_equal(output, correct[i]) for i in range(4)): + if all(string_almost_equal(output, correct[i], prec=2) for i in range(4)): n_correct += 1 else: tin = test_in[i][1] diff --git a/python/problems/while_and_if/minimax/sl.py b/python/problems/while_and_if/minimax/sl.py index a76bd2e..2b07efa 100644 --- a/python/problems/while_and_if/minimax/sl.py +++ b/python/problems/while_and_if/minimax/sl.py @@ -22,7 +22,7 @@ Najvišja cena: 4 ''' main_plan = ['''\ -<p><b>Plan:</b></p> +<p>Plan:</p> <pre> 1. Ponavljaj dokler je cena večja od 0: 2. Preberi ceno. |