Sobes.tech
Junior — Senior

Output of numbers with replacement of multiples of 3 and 5

livecode

Task condition

Implement a function that outputs the sequence from 1 to 100. If the current number is divisible by 3 without a remainder, output the string "Fizz"; if divisible by 5, output the string "Buzz". When the number is divisible by both 3 and 5, output the combination "FizzBuzz".