RosettaCodeData/Task/Logical-operations/Hy/logical-operations.hy

5 lines
106 B
Hy
Raw Permalink Normal View History

2017-09-23 10:01:46 +02:00
(defn logic [a b]
(print "a and b:" (and a b))
(print "a or b:" (or a b))
(print "not a:" (not a)))