summaryrefslogtreecommitdiff
path: root/python/problems/recursion/family_tree_youngest/sl.py
blob: 04c2700a148a20b025a20548620ba934628181ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import server
mod = server.problems.load_language('python', 'sl')

id = 20803
name = 'Družinsko drevo: najmlajši'

description = '''\
<p>
Funkcija <code>youngest(name)</code> naj vrne starost in ime
najmlajšega člana določene rodbine.
Uporabite družinsko
drevo (<a target="_blank" href="[%@resource novak.png%]">slika</a> in
<a target="_blank" href="[%@resource slovar.html%]">slovar</a>). </p>
<pre>
>>> youngest('Hans')
(64, 'Hans')
>>> youngest('Daniel')
(5, 'Alenka')
</pre>
'''

plan = []

hint = {
    'final_hint': ['''\
<p>Program je pravilen! <br>
</p>
'''],
}