RosettaCodeData/Task/Logical-operations/Hy/logical-operations.hy
2017-09-25 22:28:19 +02:00

4 lines
106 B
Hy

(defn logic [a b]
(print "a and b:" (and a b))
(print "a or b:" (or a b))
(print "not a:" (not a)))