summaryrefslogtreecommitdiff
path: root/code-examples.py
diff options
context:
space:
mode:
authorGeo Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-03-17 13:30:46 +0200
committerGeo Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-03-17 13:30:46 +0200
commitc50d4c645cd3c04204106c4f9f026e5910afa3d5 (patch)
tree6cc6bdb9cb159a96b8335419691a08a941ea0165 /code-examples.py
parent504732c3d35d003fd5067240b98bc35f03c8cad9 (diff)
downloadlinkeysearch-c50d4c645cd3c04204106c4f9f026e5910afa3d5.tar.gz
linkeysearch-c50d4c645cd3c04204106c4f9f026e5910afa3d5.tar.bz2
linkeysearch-c50d4c645cd3c04204106c4f9f026e5910afa3d5.zip
Code tree reorganized; older implemenatations act as a start point
Diffstat (limited to 'code-examples.py')
-rw-r--r--code-examples.py24
1 files changed, 0 insertions, 24 deletions
diff --git a/code-examples.py b/code-examples.py
deleted file mode 100644
index d8d0042..0000000
--- a/code-examples.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# test
-a = 1
-b = 4
-
-def addto(x, l) :
- l.append({
- "n" : x,
- "c": []
- })
- for it in l :
- if it["n"] == 4 :
- subl = it["c"]
- subl.append(x)
- it['c'] = subl
-
-
-malist = []
-
-malist.append({ "n" : a })
-print(malist)
-
-addto(b, malist)
-addto(b, malist)
-print(malist)