+ 1
What is fuzz buzz ?
Python 3
3 ответов
+ 1
Fizz buzz is a test of programming .
The concept is: if a number is a multiple of 3 you print Fizz, if it's a multiple of 5 you print Buzz, if it's a multiple of both(3 and 5) you print Fizz-Buzz else you print the number.
Example:
1
2
Fizz
4
Buzz
FIZZ
8
FIZZ
Buzz
11
FIZZ
13
14
Fizz-Buzz
..
..