diff options
author | ubq323 <ubq323@ubq323.website> | 2024-06-21 16:01:46 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2024-06-21 16:01:46 +0100 |
commit | 81662aa56b8ad2fa397b1d3e9dd3bb398c7d1798 (patch) | |
tree | ac788aa65d938f6fe1967863e5fe2296e6eacd7b /tests/fizzbuzz.bth | |
parent | 377822b957c442b2ff0882b8325033487037be2b (diff) |
print -> puts
Diffstat (limited to 'tests/fizzbuzz.bth')
-rw-r--r-- | tests/fizzbuzz.bth | 2 |
1 files changed, 1 insertions, 1 deletions
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))) |