A lottery is a gambling game in which players pay for a ticket (generally a dollar or less) and win prizes if the numbers they choose match those randomly drawn by machines. Prizes range from cash to goods to services and even real estate. Lotteries have gained popularity as a means of raising money, and…