FizzBuzz
FreeLogic@rabbinatix/fizzbuzz by Rabbinatixupdated Oct 4, 2026
The classic: 1, 2, Fizz, 4, Buzz… up to a count.
A first loop: For Loop runs from 1 to count, Modulo finds multiples of 3 and 5, and each word is appended to a list variable.
Shows: For Loop, a list Variable, Modulo, Select, Concat, To String.
How to use it
Add it to your logic, then add a Call Function step in any logic and pick FizzBuzz. It belongs to no system, so every system can use it. Or download the TypeScript and call it from your own code.
Inputs
count: Whole number
Outputs
words: List of texts
Previewdrag the steps around; scroll to zoom
Function Entry, Input / output. 0 inputs, 2 outputs. step 1 of 16
FizzBuzz
count
For Loop, Flow control. 3 inputs, 3 outputs. step 2 of 16
For Loop
first
last
Loop Body
index
Completed
Modulo, Operators. 2 inputs, 1 output. step 4 of 16
%
A
B
result
Equals, Operators. 2 inputs, 1 output. step 5 of 16
==
A
B
result
Select, Data. 3 inputs, 1 output. step 6 of 16
Select
condition
if true
if false
value
Modulo, Operators. 2 inputs, 1 output. step 7 of 16
%
A
B
result
Equals, Operators. 2 inputs, 1 output. step 8 of 16
==
A
B
result
Select, Data. 3 inputs, 1 output. step 9 of 16
Select
condition
if true
if false
value
Concat, String. 2 inputs, 1 output. step 10 of 16
Concat
a
b
result
Is Empty, Validation. 1 input, 1 output. step 11 of 16
Is Empty
value
result
To String, Data. 1 input, 1 output. step 12 of 16
To String
value
result
Select, Data. 3 inputs, 1 output. step 13 of 16
Select
condition
if true
if false
value
Get Variable, Data. 0 inputs, 1 output. step 3 of 16
Get out
value
Append, Collection. 2 inputs, 1 output. step 14 of 16
Append
array
item
result
Set Variable, Data. 2 inputs, 2 outputs. step 15 of 16
Set out
value
value
Return, Input / output. 2 inputs, 0 outputs. step 16 of 16
Return
words
Arrow keys: next or previous step in flow order. Alt with arrows: nearest step in that direction. Enter: open. Shift F10: more actions.
Examplesrun live against the logic · 2/2 pass
| Passed | Example | Input | Output |
|---|---|---|---|
| Up to 15 | {"count":15} | {"words":["1","2","Fizz","4","Buzz","Fizz","7","8","Fizz","Buzz","11","Fizz","13","14","FizzBuzz"]} | |
| Nothing | {"count":0} | {"words":[]} |
Try it
Versions
In this package
FizzBuzz (entry)
