Junior — Senior
Implementation of the FizzBuzz rule
livecode
Task condition
Create a function that takes an integer n and outputs a sequence from 1 to n. Instead of numbers, output special strings: if the current value is divisible by 3 — output "Fizz", if divisible by 5 — output "Buzz", and if divisible by both 3 and 5 — output "FizzBuzz".