There's a math game called "Beep Buzz" where you say numbers in order, but if a number is divisible by 3 then you say "beep" instead, and if a number is divisible by 5 you say "buzz" instead. Numbers like 15 will be both "beep" and "buzz".
Use code blocks to "print" the correct sequence up to 30, e.g. 1
2
beep
4
buzz
beep
Drag blocks from the left, then click the "Run Code" button to see the output.
Output | Python Code |
---|---|