RosettaCodeData/Task/Logical-operations/NewLISP/logical-operations.l
2023-07-01 13:44:08 -04:00

3 lines
116 B
Common Lisp

(define (logic a b)
(print "a and b is: " (and a b) "\n a or b is: " (or a b))
(print "\n not a is: " (not a)))