22a. Recursion Self Quiz

A brief quiz to make sure you understand recursion.

draw-cats: string -> image

Draw one cat for every time the word “cat” appears in the string.

(draw-cats "nyan cat")

(draw-cats "cat dog cat")

Last modified August 18, 2023: 2022-2023 End State (7352e87)