RosettaCodeData/Task/Logical-operations/Hy/logical-operations.hy
2023-07-01 13:44:08 -04: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)))