PythiloEasy · 12 min · Task 21 of 100 · progress kept in this browser

Divisibility labels

Return the strings for integers 1 through n: Fizz for multiples of 3, Buzz for 5, FizzBuzz for both, otherwise the decimal number. n is nonnegative.

number = 15
print(number % 3 == 0 and number % 5 == 0)
Your task

Return the strings for integers 1 through n: Fizz for multiples of 3, Buzz for 5, FizzBuzz for both, otherwise the decimal number. n is nonnegative.