code: return card.rank in {1, 4}

label: ranks 1 or 4

split: test


code: return card.color == "blue" and card.rank % 2 == 1

label: blue odd cards


code: return card.color == "blue" and card.rank >= 3

label: blue ranks 3 or 4


code: return card.color == "red" and card.rank in {2, 3}

label: red ranks 2 or 3


code: return card.color == "blue" and card.rank != 4

label: blue cards that are not rank 4


code: return card.color == "red" and card.rank != 2

label: red cards that are not rank 2