def solution(startIndex, endIndex, glue = " "):
  fizzBuzzed = [];
  for index in list(range(startIndex, endIndex + 1)):
    fizzBuzzed.append(fizzBuzz(index))
  output = glue.join(str(value) for value in fizzBuzzed)

  return output + "\n"

def fizzBuzz(number):
  if not (number % 15):
    _return = "FizzBuzz"
  elif not (number % 3):
    _return = "Fizz"
  elif not (number % 5):
    _return = "Buzz"
  else:
    _return = number

  return _return

print(solution(1, 100))