From 81662aa56b8ad2fa397b1d3e9dd3bb398c7d1798 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Fri, 21 Jun 2024 16:01:46 +0100 Subject: print -> puts --- tests/fizzbuzz.bth | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/fizzbuzz.bth') diff --git a/tests/fizzbuzz.bth b/tests/fizzbuzz.bth index e70c2c1..82e80cf 100644 --- a/tests/fizzbuzz.bth +++ b/tests/fizzbuzz.bth @@ -1,7 +1,7 @@ (do (set n 1) (while (< n 30) - (print + (puts (if (= 0 (% n 5)) (if (= 0 (% n 3)) "fizzbuzz" "buzz") (if (= 0 (% n 3)) "fizz" n))) -- cgit v1.2.3