Fizz Buzz

Fizz Buzz

"Fizz buzz "是一个文字游戏,我们将用它来教机器人认识除法。让我们来学习计算机。

你应该写一个函数,接收一个正整数并返回:
如果该数字能被3和5整除,则返回"Fizz Buzz";
如果数字能被3整除,则为 "Fizz";
如果数字能被5整除,则为 "Buzz";
其他情况下,将数字作为字符串。

example

输入:一个整数(number)

输出:一个字符串(string)...

You should be an authorized user in order to see the full description and start solving this mission.
19