answer
.n
(inclusive).i
, do the following:
a. If i
is divisible by both 3 and 5, append 'FizzBuzz' to answer
.
b. Else if i
is divisible by 3, append 'Fizz' to answer
.
c. Else if i
is divisible by 5, append 'Buzz' to answer
.
d. Else, append the string representation of i
to answer
.answer
list.