From b081f3a0ce3466968013619502e42d7c447801fe Mon Sep 17 00:00:00 2001 From: Tommy Wallo Date: Tue, 13 Jun 2023 23:09:57 +0800 Subject: [PATCH] First attempt on exercises --- src/training_day.clj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/training_day.clj b/src/training_day.clj index f5ac2e69..a74a6a40 100644 --- a/src/training_day.clj +++ b/src/training_day.clj @@ -1,11 +1,11 @@ (ns training-day) -(def answer ":(") +(def answer 42) (def hai "O HAI!") (defn square [x] - ":(") + (* x x)) (defn average [a b] - ":(") + (/ (+ a b) 2))