FactSet interview question

write a function of fizzbuzz