Pregunta de entrevista de SolarWinds

Design a lottery system using Python, write test cases for the same.