diff options
Diffstat (limited to 'prolog/problems/lists')
-rw-r--r-- | prolog/problems/lists/conc_3/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prolog/problems/lists/conc_3/common.py b/prolog/problems/lists/conc_3/common.py index fd97865..105f801 100644 --- a/prolog/problems/lists/conc_3/common.py +++ b/prolog/problems/lists/conc_3/common.py @@ -88,7 +88,7 @@ def hint(code, aux_code): # inserting first list's head into the second list in recursive call: conc(T, [H\L2], L) if prolog.engine.ask_truthTO(engine_id, - 'conc([a,b,c,d,e], [1,2,3,4], L = [e,d,c,b,a,1,2,3,4])'): + 'conc([a,b,c,d,e], [1,2,3,4], [e,d,c,b,a,1,2,3,4])'): return [{'id': 'insertion_into_second_list'}] # forcing result onto recursion; case of conc(T, L2, [H|L]) |