[ prog / sol / mona ]

prog


Help on the Way

4 2022-04-07 15:25

why is this not working??

(define (fizzbuzz n)
	(cond
		(zero? (remainder n 5)) 'fizz
		(zero? (remainder n 3)) 'buzz
		else n))

(map fizzbuzz '(1 2 3 4 5 6 7 8 9 10))
103


VIP:

do not edit these