In natural languages, we would say \"some color is a primary color if the color is red, blue, or yellow.\"
In every programming language I\'ve seen, that translates
Just to add to language examples
Scheme
(define (isPrimaryColor color) (cond ((member color '(red blue yellow)) #t) (else #f))) (define (someNumberTest x) (cond ((or (and (>= x 1) (<= x 100)) (and (>= x 10000 (<= x 2000))) #t) (else #f)))