Fizz Buzz

According to Wikipedia, Fizz buzz is a group word game for children to teach them about division. Players take turns to count incrementally, replacing any number divisible by three with the word "Fizz", and any number divisible by five with the word "Buzz". Any number that is divisible by both three and five is replaced with the string "Fizz Buzz".

Unchanged numbers are simply returned as a string. [!java|scala]The easiest for that is to use that [!thelang] idiomatic: ""+a[/!] [!python]The function str(a) changes an integer a into a string.[/!]