Skip to content

and

Use an and operator

Given a file named “main.scm” with:

(import (scheme base))
(write-u8 (if (and <values>) 65 66))

When I successfully run scheme main.scm

Then the stdout should contain exactly “<output>”.

Examples

valuesoutput
A
#tA
#fB
#t #tA
#t #fB