summaryrefslogtreecommitdiff
path: root/prolog/problems/lists/del_3
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-03-14 08:59:46 +0100
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-03-14 08:59:46 +0100
commit2c257cd25496277659f98410cfdfda1f1a5ca57a (patch)
treec0bf7157f6c7d6abcb55eb631c3dc86887567cc7 /prolog/problems/lists/del_3
parent39dda4c1ad8bae96754b48b8ac14f3e21594f23c (diff)
Prolog: minor tweaks
Diffstat (limited to 'prolog/problems/lists/del_3')
-rw-r--r--prolog/problems/lists/del_3/sl.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/prolog/problems/lists/del_3/sl.py b/prolog/problems/lists/del_3/sl.py
index 6285742..83d9f3d 100644
--- a/prolog/problems/lists/del_3/sl.py
+++ b/prolog/problems/lists/del_3/sl.py
@@ -18,8 +18,10 @@ description = '''\
</pre>'''
plan = ['''
-<p><img style="width: 40%;" src="[%@resource plan_a.svg%]" /><img style="width: 40%;" src="[%@resource plan_b.svg%]" /></p>
-''', '''\
+<p style="text-align: center;">
+ <img style="display: inline-block; width: 40%; border-right: 1px solid lightgray;" src="[%@resource plan_a.svg%]" />
+ <img style="display: inline-block; width: 40%;" src="[%@resource plan_b.svg%]" />
+</p>
<p>V bistvu je ta naloga precej podobna nalogi <code>memb/2</code>, le da tokrat iskani element tudi zbrišemo.
Kje se lahko skriva iskani element <code>X</code>, da ga zbrišemo? Spomni se, da ima seznam dva dela, glavo in rep.
Torej sta možnosti dve!</p>