Skip to content

Commit 2e52943

Browse files
author
Rony Reis
committed
adds 1.3 in hy
1 parent 7b546c0 commit 2e52943

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: 1.1-TheElementsOfProgramming/ex-1.3/reis-r.hy

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
(defn square [x] (* x x))
2+
(defn answer [x y z]
3+
(+ (square (get (sorted [x y z]) -1))
4+
(square (get (sorted [x y z]) -2))))

0 commit comments

Comments
 (0)