summaryrefslogtreecommitdiff
path: root/python/problems/recursion/slovar.html
diff options
context:
space:
mode:
authorMartin Možina <martin.mozina@fri.uni-lj.si>2016-10-06 12:55:26 +0200
committerMartin Možina <martin.mozina@fri.uni-lj.si>2016-10-06 12:55:26 +0200
commit969812724912512740dbf037940a9e6770df19ed (patch)
tree7b738a757a9e425eefac4721b96ee9a482d42f90 /python/problems/recursion/slovar.html
parent15871f8f3982fc7c5de03a68229235ea616c6419 (diff)
Added recursion exercises.
Diffstat (limited to 'python/problems/recursion/slovar.html')
-rw-r--r--python/problems/recursion/slovar.html44
1 files changed, 44 insertions, 0 deletions
diff --git a/python/problems/recursion/slovar.html b/python/problems/recursion/slovar.html
new file mode 100644
index 0000000..ed80a01
--- /dev/null
+++ b/python/problems/recursion/slovar.html
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<html lang="sl">
+<head>
+ <meta charset="utf-8" />
+ <title></title>
+ <link rel="stylesheet" type="text/css" href="/css/codeq.css" />
+ <link rel="stylesheet" type="text/css" href="../../style.css" />
+</head>
+<body>
+
+<pre>
+children = {
+ "Adam": ["Matjaž", "Cilka", "Daniel", "Erik"],
+ "Aleksander": [],
+ "Alenka": [],
+ "Barbara": [],
+ "Cilka": [],
+ "Daniel": ["Elizabeta", "Hans"],
+ "Erik": [],
+ "Elizabeta": ["Ludvik", "Jurij", "Barbara", "Herman", "Mihael"],
+ "Franc": [],
+ "Herman": ["Margareta"],
+ "Hans": [],
+ "Jožef": ["Alenka", "Aleksander", "Petra"],
+ "Jurij": ["Franc", "Jožef"],
+ "Ludvik": [],
+ "Margareta": [],
+ "Matjaž": ["Viljem"],
+ "Mihael": [],
+ "Petra": [],
+ "Tadeja": [],
+ "Viljem": ["Tadeja"],
+}
+
+age = {
+ "Adam": 111, "Matjaž": 90, "Cilka": 88, "Daniel": 85, "Erik": 83,
+ "Viljem": 58, "Tadeja": 20, "Elizabeta": 67, "Hans": 64, "Ludvik": 50,
+ "Jurij": 49, "Barbara": 45, "Herman": 39, "Mihael": 32, "Franc": 30,
+ "Jožef": 29, "Margareta": 10, "Alenka": 5, "Aleksander": 7, "Petra": 9
+}
+</pre>
+
+</body>
+</html>