Question d’entretien chez MarketAxess

Given a function that provides a random number from 1-5, create random generator function which for 1-7